A B C D E F G H I J K L M N O P Q R S T U V W _

A

ACCEPTING - Static variable in class spellcast.net.ConnectionStatus
 
ACTIVE_PROP - Static variable in class spellcast.beings.Being
The property for the being's active value.
add(ServerStatus) - Method in class spellcast.ui.ServerListTableModel
 
add_connection() - Method in class spellcast.client.cengine
Add a wizard to the game.
add_connection() - Method in class spellcast.client.cenginei
 
addEnchantment(Enchantment) - Method in class spellcast.beings.Being
Add an enchantment to this Being.
addEnchantment(Enchantment) - Method in interface spellcast.beings.IBeing
Add an enchantment to this Being.
addGestureListener(GestureListener) - Method in class spellcast.ui.GestureButton
 
addGestureListener(GestureListener) - Method in class spellcast.ui.GesturePopupMenu
 
addMessage(String) - Method in class spellcast.client.Client
Add a message to the view.
addMessage(String) - Method in interface spellcast.ui.SpellcastView
Add a message to the view.
addMessage(String) - Method in class spellcast.ui.SpellcastWindow
Add a message to the view.
addMonster(Monster) - Method in class spellcast.ui.WizardDetails
Adds a monster to the control of this wizard.
addProperty(String) - Method in class spellcast.test.PropertyChangeListenerTester
 
addPropertyChangeListener(PropertyChangeListener) - Method in class spellcast.beings.Being
Adds a PropertyChangeListener to this Being.
addPropertyChangeListener(PropertyChangeListener) - Method in interface spellcast.model.PropertyUpdater
 
addPropertyChangeListener(PropertyChangeListener) - Method in class spellcast.ui.ConnectionDialog
 
addPropertyChangeListener(PropertyChangeListener) - Method in class spellcast.ui.NewGameDialog
 
addPropertyChangeListener(PropertyChangeListener) - Method in class spellcast.ui.SpellcastWindow
 
addPropertyChangeListener(PropertyChangeListener) - Method in class spellcast.ui.WizardProfiles
 
addQuery(Question) - Method in class spellcast.client.Client
Add a query to the view.
addQuery(Question) - Method in class spellcast.ui.QueryDisplay
Add a query to be displayed to the client.
addQuery(Question) - Method in interface spellcast.ui.SpellcastView
Add a query to the view.
addQuery(Question) - Method in class spellcast.ui.SpellcastWindow
Add a query to the view.
addQuestion(IQuestion) - Method in interface spellcast.beings.IWizard
Add a IQuestion to the IWizard.
addQuestion(IQuestion) - Method in class spellcast.beings.Wizard
Add a IQuestion to the IWizard.
addWizard(IWizard) - Method in class spellcast.client.Client
Add a wizard to the view.
addWizard(IWizard) - Method in class spellcast.game.Game
Add a wizard to the system.
addWizard(IWizard) - Method in interface spellcast.game.IGame
Add a wizard to the system.
addWizard(IWizard) - Method in interface spellcast.ui.SpellcastView
Add a wizard to the view.
addWizard(IWizard) - Method in class spellcast.ui.SpellcastWindow
Add a wizard to the view.
addWizard(IWizard) - Method in class spellcast.ui.WizardDisplay
 
AFTER_GAME - Static variable in class spellcast.game.Turn
 
ALL_DAMAGE_TYPES - Static variable in class spellcast.damage.DamageType
List of all the DamageTypes.
AmnesiaEnchantment - Class in spellcast.enchantment
The Amnesia Enchantment.
AmnesiaEnchantment() - Constructor for class spellcast.enchantment.AmnesiaEnchantment
Provided for serialization, do not use as a constructor.
AmnesiaEnchantment(IBeing, IBeing) - Constructor for class spellcast.enchantment.AmnesiaEnchantment
Creates a new AmnesiaEnchantment object.
Arena - Class in spellcast.game
 
Arena() - Constructor for class spellcast.game.Arena
 

B

BEFORE_GAME - Static variable in class spellcast.game.Turn
 
BeginGame() - Method in class spellcast.game.Engine
 
Being - Class in spellcast.beings
The base class for all Beings in Spellcast.
Being() - Constructor for class spellcast.beings.Being
Provided for serialization, do not use as a constructor.
Being(Id, String, Gender, int) - Constructor for class spellcast.beings.Being
Creates a new BeingImpl object.
BlindEnchantment - Class in spellcast.enchantment
The Blind Enchantment.
BlindEnchantment() - Constructor for class spellcast.enchantment.BlindEnchantment
Provided for serialization, do not use as a constructor.
BlindEnchantment(IBeing, IBeing) - Constructor for class spellcast.enchantment.BlindEnchantment
Creates a new BlindEnchantment object.

C

cengine - Class in spellcast.client
 
cengine(SpellcastView, ClientConnectionHandler) - Constructor for class spellcast.client.cengine
 
cengine_execute(String[]) - Method in class spellcast.client.cengine
 
cenginei - Class in spellcast.client
 
cenginei() - Constructor for class spellcast.client.cenginei
 
CharmPersonEnchantment - Class in spellcast.enchantment
The Charm Person Enchantment.
CharmPersonEnchantment() - Constructor for class spellcast.enchantment.CharmPersonEnchantment
Provided for serialization, do not use as a constructor.
CharmPersonEnchantment(IBeing, IWizard) - Constructor for class spellcast.enchantment.CharmPersonEnchantment
Creates a new CharmPersonEnchantment object.
clear() - Method in class spellcast.ui.ServerListTableModel
 
Client - Class in spellcast.client
The Client class for Spellcast.
Client() - Constructor for class spellcast.client.Client
 
ClientConnectionHandler - Class in spellcast.client
This class handles the socket functions for the client.
ClientConnectionHandler(SpellcastView, VersionDetails) - Constructor for class spellcast.client.ClientConnectionHandler
 
close() - Method in class spellcast.net.WizardSocket
Immediately closes all input and output streams and closes the socket.
CLOSED - Static variable in class spellcast.net.ConnectionStatus
 
ConfusionEnchantment - Class in spellcast.enchantment
The Amnesia Enchantment.
ConfusionEnchantment() - Constructor for class spellcast.enchantment.ConfusionEnchantment
Provided for serialization, do not use as a constructor.
ConfusionEnchantment(IBeing, IBeing) - Constructor for class spellcast.enchantment.ConfusionEnchantment
Creates a new ConfusionEnchantment object.
connect(String, String, String) - Method in class spellcast.client.ClientConnectionHandler
Request connection to the specified address and port.
connect(IPCHandle, Id) - Method in interface spellcast.game.IPC
Connect the handle with the specified Id.
connect(IPCHandle, Id) - Method in class spellcast.server.ServerConnectionHandler
Connect the handle with the specified Id.
connect(String, String, String) - Method in interface spellcast.ui.NetworkController
Request the network controller to connect to the specified address and port.
connect_event - Static variable in class spellcast.client.cenginei
 
CONNECT_PROP - Static variable in interface spellcast.ui.UIProperties
 
connect_this_client() - Method in class spellcast.client.cengine
This is the first message received by the client.
connect_this_client() - Method in class spellcast.client.cenginei
 
connected(boolean) - Method in class spellcast.client.Client
Indicate that the system has connected to a Spellcast server.
connected(boolean) - Method in interface spellcast.ui.SpellcastView
Indicate that the system has connected to a Spellcast server.
connected(boolean) - Method in class spellcast.ui.SpellcastWindow
Indicate that the system has connected to a Spellcast server.
ConnectionDialog - Class in spellcast.ui
The Connection Dialog allows the user to select a spellcast server to connect to.
ConnectionDialog() - Constructor for class spellcast.ui.ConnectionDialog
 
ConnectionEvent - Class in spellcast.event
The ConnectionEvent is in response to a ConnectionRequestEvent.
ConnectionEvent(Wizard) - Constructor for class spellcast.event.ConnectionEvent
Create a ConnectionEvent.
ConnectionRequestEvent - Class in spellcast.event
Request a connection to the Spellcast Game.
ConnectionRequestEvent(String, String) - Constructor for class spellcast.event.ConnectionRequestEvent
Create a ConnectionRequestEvent where NO_ONE is the originator (we have yet to be assigned an id from the server), SPELLCAST is the target, and the recipient is SPELLCAST.
ConnectionStatus - Class in spellcast.net
This class contains the status of the server for new connections.
ConnectToServerEvent - Class in spellcast.ui
Property change event for connecting to a server.
ConnectToServerEvent(String, String, String) - Constructor for class spellcast.ui.ConnectToServerEvent
 
contains(ServerStatus) - Method in class spellcast.ui.ServerListTableModel
 
createGUI() - Method in class spellcast.client.Client
 
createId() - Static method in class spellcast.model.Id
 
createServer(InetAddress, int, String) - Static method in class spellcast.server.Server
 

D

Damage - Class in spellcast.damage
Damage is the main way to kill a Being.
Damage(DamageType, int) - Constructor for class spellcast.damage.Damage
 
DamageType - Class in spellcast.damage
The type for damage being dealt.
DamageType(String) - Constructor for class spellcast.damage.DamageType
DamageType is not instantied but accessed from the Flyweight factory methods getX(), where X is one of the available damage types.
defaultProfileFile - Static variable in class spellcast.ui.WizardProfiles
 
DelayedEffectEnchantment - Class in spellcast.enchantment
The Delayed Effect Enchantment.
DelayedEffectEnchantment() - Constructor for class spellcast.enchantment.DelayedEffectEnchantment
Provided for serialization, do not use as a constructor.
DelayedEffectEnchantment(IBeing, IWizard) - Constructor for class spellcast.enchantment.DelayedEffectEnchantment
Creates a new DelayedEffectEnchantment object.
disconnect() - Method in class spellcast.client.ClientConnectionHandler
Request the network controller to disconnect from the existing connection.
disconnect(IPCHandle) - Method in interface spellcast.game.IPC
Disconnect the client.
disconnect(IPCHandle) - Method in class spellcast.server.ServerConnectionHandler
Disconnect the client.
disconnect() - Method in interface spellcast.ui.NetworkController
Request the network controller to disconnect from the existing connection.
disconnect_event - Static variable in class spellcast.client.cenginei
 
DISCONNECT_PROP - Static variable in interface spellcast.ui.UIProperties
 
disconnected() - Method in class spellcast.client.Client
Indicate that the system has disconnected from a Spellcast server.
disconnected() - Method in interface spellcast.ui.SpellcastView
Indicate that the system has disconnected from a Spellcast server.
disconnected() - Method in class spellcast.ui.SpellcastWindow
Indicate that the system has disconnected from a Spellcast server.
DisconnectionEvent - Class in spellcast.event
The DisconnectionEvent is in response to a DisconnectionRequestEvent.
DisconnectionEvent(IWizard) - Constructor for class spellcast.event.DisconnectionEvent
Create a DisconnectionEvent that indicates the wizard has disconnected.
DisconnectionRequestEvent - Class in spellcast.event
Request to be disconnected from the Spellcast Game.
DisconnectionRequestEvent() - Constructor for class spellcast.event.DisconnectionRequestEvent
 
DiseasedEnchantment - Class in spellcast.enchantment
The Diseased Enchantment.
DiseasedEnchantment() - Constructor for class spellcast.enchantment.DiseasedEnchantment
Provided for serialization, do not use as a constructor.
DiseasedEnchantment(IBeing, IBeing) - Constructor for class spellcast.enchantment.DiseasedEnchantment
Creates a new BlindEnchantment object.
display_message() - Method in class spellcast.client.cengine
Display a message to the client.
display_message() - Method in class spellcast.client.cenginei
 

E

Enchantment - Interface in spellcast.enchantment
An Enchantment is something that affects IBeing.
EnchantmentImpl - Class in spellcast.enchantment
The default implementation of Enchantment.
EnchantmentImpl() - Constructor for class spellcast.enchantment.EnchantmentImpl
Provided for serialization, do not use as a constructor.
EnchantmentImpl(String, IBeing, IBeing) - Constructor for class spellcast.enchantment.EnchantmentImpl
Create the Enchantment cast by theCaster at theTarget.
Engine - Class in spellcast.game
 
Engine() - Constructor for class spellcast.game.Engine
 
equals(Object) - Method in class spellcast.beings.Gender
 
equals(Object) - Method in class spellcast.damage.DamageType
A damage type is equal to another damage type if they have the same type.
equals(Object) - Method in class spellcast.enchantment.EnchantmentImpl
Determine is this object equals the specified object.
equals(Object) - Method in class spellcast.game.Turn
equals(Object) - Method in class spellcast.model.Id
 
equals(Object) - Method in class spellcast.net.ConnectionStatus
 
equals(Object) - Method in class spellcast.net.ServerStatus
 
equals(Object) - Method in class spellcast.ui.WizardProfile
 
EVERYONE - Static variable in class spellcast.model.Id
This Id indicates that a message is for everyone.
execute() - Method in class spellcast.client.cenginei
 
execute(Context) - Method in class spellcast.game.ResolveSpells
 
execute(Context) - Method in class spellcast.questions.SelectTargetQuestion
 

F

FearEnchantment - Class in spellcast.enchantment
The Fear Enchantment.
FearEnchantment() - Constructor for class spellcast.enchantment.FearEnchantment
Provided for serialization, do not use as a constructor.
FearEnchantment(IBeing, IWizard) - Constructor for class spellcast.enchantment.FearEnchantment
Creates a new FearEnchantment object.
Female - Class in spellcast.beings
Implementation of the Female Gender class.
Female() - Constructor for class spellcast.beings.Female
 
FEMALE - Static variable in class spellcast.beings.Gender
 
FireElemental - Class in spellcast.beings
 
FireElemental() - Constructor for class spellcast.beings.FireElemental
 

G

Game - Class in spellcast.game
The Game class is the model for the Spellcast game.
Game(String, Catalog) - Constructor for class spellcast.game.Game
Create a game.
Game_Server - Class in spellcast.game
The Game Server class is the control logic for the Game.
Game_Server(IPC, String) - Constructor for class spellcast.game.Game_Server
 
game_sync_event - Static variable in class spellcast.client.cenginei
 
game_update_event - Static variable in class spellcast.client.cenginei
 
GameContext - Class in spellcast.game
 
GameContext() - Constructor for class spellcast.game.GameContext
 
GameEvent - Interface in spellcast.event
A Game Event specifies that something happened in the game, it is merely a tag.
GameLog - Class in spellcast.game
The game log contains a transcript of the spellcast game.
GameLog() - Constructor for class spellcast.game.GameLog
 
GameProperty - Interface in spellcast.game
Contains the property names of property change events.
GameSyncEvent - Class in spellcast.event
A Game Sync Event contains the game state for the specified client as synchronised with the server.
GameSyncEvent(Game) - Constructor for class spellcast.event.GameSyncEvent
Create an GameSyncEvent
GameUpdateEvent - Class in spellcast.event
A Game Update Event contains the details of what has changed in the game.
GameUpdateEvent(PropertyChangeEvent) - Constructor for class spellcast.event.GameUpdateEvent
Create an GameUpdateEvent for the property that changed on the server.
GENDER - Static variable in class spellcast.beings.Female
 
Gender - Class in spellcast.beings
 
Gender(String) - Constructor for class spellcast.beings.Gender
 
GENDER - Static variable in class spellcast.beings.GenderNone
 
GENDER - Static variable in class spellcast.beings.Male
 
GENDER - Static variable in class spellcast.beings.Neuter
 
gender - Variable in class spellcast.ui.WizardProfile
 
GenderNone - Class in spellcast.beings
Implementation of the No Gender Class.
GenderNone() - Constructor for class spellcast.beings.GenderNone
 
GENDERS_AS_STRINGS - Static variable in class spellcast.beings.Gender
A list of genders that are available in their string form.
Gesture - Enum in spellcast.gestures
A Spellcast Gesture.
GestureButton - Class in spellcast.ui
A button that displays a gesture and can select a new gesture.
GestureButton(int) - Constructor for class spellcast.ui.GestureButton
Create a GestureButton with the specified handedness and displaying images.
GestureButton(int, boolean) - Constructor for class spellcast.ui.GestureButton
Create a GestureButton with the specified handedness and displaying images or text depending.
GestureFactory - Class in spellcast.gestures
Deprecated.  
GestureHistoryCellRenderer - Class in spellcast.ui
The GestureHistoryCellRender is a Cell Renderer for the JList class that renders the gesture history list model.
GestureHistoryCellRenderer(int) - Constructor for class spellcast.ui.GestureHistoryCellRenderer
Create a cell renderer with the specified handedness.
GestureIcon - Class in spellcast.ui
This class is a Flyweight Factory for creating the Icons needed for the spellcast Gestures.
GestureIcon() - Constructor for class spellcast.ui.GestureIcon
 
GestureListener - Interface in spellcast.ui
This listener interface for receiving Gesture events from spellcast.
GestureMenuItemUI - Class in spellcast.ui
This is the UI delegate that handles the displaying of the GestureChoicesMenuItem.
GestureMenuItemUI() - Constructor for class spellcast.ui.GestureMenuItemUI
 
GesturePopupMenu - Class in spellcast.ui
This PopupMenu displays the eight spellcast gestures that can be chosen.
GesturePopupMenu() - Constructor for class spellcast.ui.GesturePopupMenu
 
gestureSelected(Gesture) - Method in interface spellcast.ui.GestureListener
This method is fired when a gesture is selected.
get(int) - Method in class spellcast.net.ServerStatus
Used by ServerListTableModel to obtain a column indexed version of this classes attributes.
get(int) - Method in class spellcast.ui.ServerListTableModel
 
get_external_event() - Method in class spellcast.client.cengine
 
get_external_event() - Method in class spellcast.client.cenginei
 
getAnswer() - Method in interface spellcast.questions.IQuestion
Get the value of the answer.
getAnswer() - Method in class spellcast.questions.Question
Get the value of the answer.
getAnswers() - Method in class spellcast.event.OkEvent
Get the value of answers.
getAnswers() - Method in interface spellcast.questions.IQuestion
Get the all the answers.
getAnswers() - Method in class spellcast.questions.Question
Get the all the answers.
getAnswers() - Method in class spellcast.ui.QueryDisplay
Return all the queries that have been added.
getAntispell() - Method in class spellcast.gestures.GestureFactory
Deprecated. The Flyweight creation method for the Antispell display Gesture.
getAntiSpellIcon() - Static method in class spellcast.ui.GestureIcon
 
getBindAddress() - Method in class spellcast.server.Server
 
getCaster() - Method in interface spellcast.enchantment.Enchantment
The caster of the Enchantment.
getCaster() - Method in class spellcast.enchantment.EnchantmentImpl
The caster of the Enchantment.
getCaster() - Method in interface spellcast.spell.ISpell
Return the IWizard who cast this ISpell.
getCaster() - Method in class spellcast.spell.SpellImpl
Return the IWizard who cast this ISpell.
getClap() - Method in class spellcast.gestures.GestureFactory
Deprecated. The Flyweight creation method for the Clap Gesture.
getClapLefthandIcon() - Static method in class spellcast.ui.GestureIcon
 
getClapRighthandIcon() - Static method in class spellcast.ui.GestureIcon
 
getColdDamageType() - Static method in class spellcast.damage.DamageType
 
getColumnClass(int) - Method in class spellcast.ui.ServerListTableModel
 
getColumnCount() - Method in class spellcast.ui.ServerListTableModel
 
getColumnHeaders() - Static method in class spellcast.net.ServerStatus
Returns the column headers needed for table headers as an array of strings.
getColumnName(int) - Method in class spellcast.ui.ServerListTableModel
 
getConnectionStatus() - Method in class spellcast.net.ServerStatus
 
getConnectionStatus() - Method in class spellcast.server.Server
 
getDescription() - Method in interface spellcast.enchantment.Enchantment
Return the description of this Enchantment.
getDescription() - Method in class spellcast.enchantment.EnchantmentImpl
Return the description of this Enchantment.
getDescription() - Method in interface spellcast.spell.ISpell
Return the description of this ISpell.
getDescription() - Method in class spellcast.spell.SpellImpl
Return the description of this ISpell.
getDigit() - Method in class spellcast.gestures.GestureFactory
Deprecated. The Flyweight creation method for the Digit Gesture.
getDigitLefthandIcon() - Static method in class spellcast.ui.GestureIcon
 
getDigitRighthandIcon() - Static method in class spellcast.ui.GestureIcon
 
getDuration() - Method in interface spellcast.enchantment.Enchantment
Return the duration left on this Enchantment before it expires.
getDuration() - Method in class spellcast.enchantment.EnchantmentImpl
Return the duration left on this Enchantment before it expires.
getEmptyHand() - Method in class spellcast.gestures.GestureFactory
Deprecated. The Flyweight creation method for the EmptyHand Gesture.
getEmptyHandIcon() - Static method in class spellcast.ui.GestureIcon
 
getEnchantments() - Method in class spellcast.beings.Being
Return an array of all Enchantments that are in effect upon this Being.
getEnchantments() - Method in interface spellcast.beings.IBeing
Return an array of all Enchantments that are in effect upon this Being.
getEvent() - Method in class spellcast.event.GameUpdateEvent
Get the value of event.
getFingers() - Method in class spellcast.gestures.GestureFactory
Deprecated. The Flyweight creation method for the Fingers Gesture.
getFingersLefthandIcon() - Static method in class spellcast.ui.GestureIcon
 
getFingersRighthandIcon() - Static method in class spellcast.ui.GestureIcon
 
getFireDamageType() - Static method in class spellcast.damage.DamageType
 
getGame() - Method in class spellcast.event.GameSyncEvent
Get the value of game.
getGame() - Method in class spellcast.game.Game_Server
 
getGameEvent() - Method in class spellcast.game.IPCRequest
Get the value of event.
getGameLog() - Method in class spellcast.game.Game
Get the value of gameLog.
getGameLog() - Method in interface spellcast.game.IGame
Get the value of gameLog.
getGameName() - Method in class spellcast.net.ServerStatus
 
getGameName() - Method in class spellcast.ui.NewGameEvent
Get the value of gameName.
getGameName(String) - Static method in class spellcast.util.TextUtil
From a line from GameNames.txt return the game name or null if the line is malformed.
getGameServer() - Method in class spellcast.server.Server
 
getGender() - Method in class spellcast.beings.Being
Return the Gender of this Being.
getGender(String) - Static method in class spellcast.beings.Gender
Given a string return the matching gender object (case is insensitive).
getGender() - Method in interface spellcast.beings.IBeing
Return the Gender of this Being.
getGender() - Method in class spellcast.event.ConnectionRequestEvent
Get the value of gender.
getGender() - Method in class spellcast.ui.ConnectToServerEvent
Get the value of gender.
getGender(String) - Static method in class spellcast.util.TextUtil
From a line from Profiles.txt return the Gender string.
getGenderString() - Method in class spellcast.beings.Gender
Get the value of genderString.
getGesture() - Method in class spellcast.ui.GestureButton
 
getGestures() - Method in interface spellcast.spell.ISpell
Return the Gestures needed to cast this ISpell.
getGestures() - Method in class spellcast.spell.SpellImpl
Return the Gestures needed to cast this ISpell.
getHandle() - Method in class spellcast.game.IPCRequest
Get the value of handle.
getHiddenHandIcon() - Static method in class spellcast.ui.GestureIcon
 
getHitPoints() - Method in class spellcast.beings.Being
Returns the value of the current Hit Points for this Being.
getHitPoints() - Method in interface spellcast.beings.IBeing
Returns the value of the current Hit Points for this Being.
getHitPoints() - Method in class spellcast.ui.MonsterDetails
Return the monster hit point component for this monster detail.
getIconForGesture(Gesture, int) - Static method in class spellcast.ui.GestureIcon
 
getId() - Method in class spellcast.beings.Being
The Id of this Being.
getId() - Method in interface spellcast.beings.IBeing
The Id of this Being.
getId() - Method in interface spellcast.enchantment.Enchantment
The Id of this Enchantment.
getId() - Method in class spellcast.enchantment.EnchantmentImpl
The Id of this Enchantment.
getId() - Method in class spellcast.game.IPCRequest
Get the value of id.
getID() - Method in class spellcast.net.WizardSocket
Get the value of id.
getIPAddress(String) - Static method in class spellcast.util.TextUtil
From a string of the form [:] return the host.
getKnife() - Method in class spellcast.gestures.GestureFactory
Deprecated. The Flyweight creation method for the Knife Gesture.
getKnifeLefthandIcon() - Static method in class spellcast.ui.GestureIcon
 
getKnifeRighthandIcon() - Static method in class spellcast.ui.GestureIcon
 
getLeavesCorpse() - Method in class spellcast.beings.Being
Indicates whether this Being should leave a corpse when it dies.
getLeavesCorpse() - Method in interface spellcast.beings.IBeing
Indicates whether this Being should leave a corpse when it dies.
getLeftHandGesture() - Method in interface spellcast.beings.IWizard
Get the value of leftHandGesture.
getLeftHandGesture() - Method in class spellcast.beings.Wizard
Get the value of leftHandGesture.
getLeftHandGesture() - Method in class spellcast.event.OkEvent
Get the value of leftHandGesture.
getLeftHandGesture() - Method in class spellcast.ui.WizardDetails
Return the gesture made with the left hand for the wizard specified by the current client ID.
getLeftHandGesture() - Method in class spellcast.ui.WizardDisplay
Return the gesture made with the left hand for the wizard specified by the current client Id.
getListCellRendererComponent(JList, Object, int, boolean, boolean) - Method in class spellcast.ui.GestureHistoryCellRenderer
Return a component with the list cell rendered in it.
getMajorVersionNumber() - Method in class spellcast.net.VersionDetails
Returns the major version number for the program.
getMaxHitPoints() - Method in class spellcast.beings.Being
Returns the value for the Maximum Hit Points for this Being.
getMaxHitPoints() - Method in interface spellcast.beings.IBeing
Returns the value for the Maximum Hit Points for this Being.
getMaximumSize(JComponent) - Method in class spellcast.ui.GestureMenuItemUI
Override the maximum size to be the preferred size.
getMaximumSize() - Method in class spellcast.ui.SpellcastWindow
 
getMessage() - Method in class spellcast.event.MessageEvent
Return the message.
getMinimumSize(JComponent) - Method in class spellcast.ui.GestureMenuItemUI
Override the minimum size to be the preferred size.
getMinorVersionNumber() - Method in class spellcast.net.VersionDetails
Returns the minor version number for the program.
getMonster() - Method in class spellcast.ui.MonsterDetails
Return the monster for this monster detail.
getMonsterName() - Method in class spellcast.ui.MonsterDetails
Return the monster name component for this monster detail.
getMonsters() - Method in class spellcast.game.Game
The IMonsters currently in the arena.
getMonsters() - Method in interface spellcast.game.IGame
The IMonsters currently in the arena.
getMonsterTitle() - Method in class spellcast.ui.MonsterDetails
Return the monster title component for this monster detail.
getName() - Method in class spellcast.beings.Being
The name of the Being.
getName() - Method in interface spellcast.beings.IBeing
The name of the Being.
getName() - Method in interface spellcast.enchantment.Enchantment
Return the name of this Enchantment.
getName() - Method in class spellcast.enchantment.EnchantmentImpl
Return the name of this Enchantment.
getName() - Method in class spellcast.game.Game
Return the game name.
getName() - Method in interface spellcast.game.IGame
Return the game name.
getName() - Method in enum spellcast.gestures.Gesture
Return the name of this gesture.
getNextTurn(TurnType) - Method in class spellcast.game.Turn
Return the next turn given the turn type.
getNumber() - Method in class spellcast.game.Turn
The value of the turn number.
getNumberOfPlayers() - Method in class spellcast.net.ServerStatus
 
getNumberOfUses(String) - Static method in class spellcast.util.TextUtil
From a line from GameNames.txt return the numberOfUses or -1 if the line is malformed.
getOwner() - Method in interface spellcast.beings.IMonster
Return the IWizard who is the owner of this IMonster.
getOwner() - Method in class spellcast.beings.Monster
Return the IWizard who is the owner of this IMonster.
getPalm() - Method in class spellcast.gestures.GestureFactory
Deprecated. The Flyweight creation method for the Palm Gesture.
getPalmLefthandIcon() - Static method in class spellcast.ui.GestureIcon
 
getPalmRighthandIcon() - Static method in class spellcast.ui.GestureIcon
 
getPhysicalDamageType() - Static method in class spellcast.damage.DamageType
 
getPort() - Method in class spellcast.net.ServerStatus
 
getPort() - Method in class spellcast.server.Server
 
getPort(String) - Static method in class spellcast.util.TextUtil
From a string of the form [:] return the port.
getPreferredSize(JComponent) - Method in class spellcast.ui.GestureMenuItemUI
 
getPreferredSize() - Method in class spellcast.ui.SpellcastWindow
 
getProgramName() - Method in class spellcast.net.VersionDetails
Returns the name of the program that created this packet.
getProgramVersionDetails() - Method in class spellcast.server.Server
 
getPropertyPrefix() - Method in class spellcast.ui.GestureMenuItemUI
Override the property to use for UI defaults to be GestureChoicesMenuItem.
getPropertySupport() - Method in class spellcast.beings.Being
The PropertyChangeSupport object used to notify listeners of changes to properties.
getQuery() - Method in class spellcast.event.QueryEvent
Get the value of query.
getQuestion() - Method in interface spellcast.questions.IQuestion
Get the value of the question.
getQuestion() - Method in class spellcast.questions.Question
Get the value of the question.
getResistance() - Method in class spellcast.enchantment.EnchantmentImpl
Gets the resistance of this Enchantment.
getRevisionVersionNumber() - Method in class spellcast.net.VersionDetails
Returns the revision version number for the program.
getRightHandGesture() - Method in interface spellcast.beings.IWizard
Get the value of rightHandGesture.
getRightHandGesture() - Method in class spellcast.beings.Wizard
Get the value of rightHandGesture.
getRightHandGesture() - Method in class spellcast.event.OkEvent
Get the value of rightHandGesture.
getRightHandGesture() - Method in class spellcast.ui.WizardDetails
Return the gesture made with the right hand for the wizard specified by the current client ID.
getRightHandGesture() - Method in class spellcast.ui.WizardDisplay
Return the gesture made with the right hand for the wizard specified by the current client Id.
getRowCount() - Method in class spellcast.ui.ServerListTableModel
 
getServer() - Static method in class spellcast.server.Server
 
getServerAddress() - Method in class spellcast.ui.ConnectToServerEvent
Get the value of serverAddress.
getServerAddress() - Method in class spellcast.ui.NewGameEvent
Get the value of serverAddress.
getServerIPAddress() - Method in class spellcast.net.ServerStatus
 
getSnap() - Method in class spellcast.gestures.GestureFactory
Deprecated. The Flyweight creation method for the Snap Gesture.
getSnapLefthandIcon() - Static method in class spellcast.ui.GestureIcon
 
getSnapRighthandIcon() - Static method in class spellcast.ui.GestureIcon
 
getSocket() - Method in class spellcast.net.WizardSocket
Get the value of socket.
getSource() - Method in class spellcast.event.GameUpdateEvent
Get the value of source.
getTarget() - Method in interface spellcast.enchantment.Enchantment
The target of the Enchantment.
getTarget() - Method in class spellcast.enchantment.EnchantmentImpl
The target of the Enchantment.
getTarget() - Method in interface spellcast.spell.ISpell
Return the target IBeing of this ISpell.
getTarget() - Method in class spellcast.spell.SpellImpl
Return the target IBeing of this ISpell.
getTurn() - Method in class spellcast.game.Game
Get the value of turn.
getTurn() - Method in interface spellcast.game.IGame
Get the value of turn.
getTwoHandedPalm() - Method in class spellcast.gestures.GestureFactory
Deprecated. The Flyweight creation method for the two handed palm Gesture.
getType() - Method in class spellcast.damage.Damage
 
getType() - Method in class spellcast.damage.DamageType
 
getType() - Method in class spellcast.game.Turn
The type of the turn.
getUnclear() - Method in class spellcast.gestures.GestureFactory
Deprecated. The Flyweight creation method for the Unclear display Gesture.
getValue() - Method in class spellcast.damage.Damage
 
getValueAt(int, int) - Method in class spellcast.ui.ServerListTableModel
 
getVersionDetails() - Method in class spellcast.net.ServerStatus
Get the value of versionDetails.
getWave() - Method in class spellcast.gestures.GestureFactory
Deprecated. The Flyweight creation method for the Wave Gesture.
getWaveLefthandIcon() - Static method in class spellcast.ui.GestureIcon
 
getWaveRighthandIcon() - Static method in class spellcast.ui.GestureIcon
 
getWizard() - Method in class spellcast.event.ConnectionEvent
Get the value of wizard.
getWizard(Id) - Method in class spellcast.game.Game
Find the specified wizard by Id.
getWizardID() - Method in class spellcast.event.DisconnectionEvent
Get the value of wizardID.
getWizardName() - Method in class spellcast.event.ConnectionRequestEvent
Get the value of wizardName.
getWizardName() - Method in class spellcast.ui.ConnectToServerEvent
Get the value of wizardName.
getWizardName(String) - Static method in class spellcast.util.TextUtil
From a line from Profiles.txt return the Wizard Name.
getWizards() - Method in class spellcast.game.Game
The IWizards currently in the arena.
getWizards() - Method in interface spellcast.game.IGame
The IWizards currently in the arena.
Giant - Class in spellcast.beings
 
Giant() - Constructor for class spellcast.beings.Giant
 
Goblin - Class in spellcast.beings
 
Goblin() - Constructor for class spellcast.beings.Goblin
 

H

handle_io_error() - Method in class spellcast.client.cengine
 
handle_io_error() - Method in class spellcast.client.cenginei
 
handle_unknown_event() - Method in class spellcast.client.cengine
 
handle_unknown_event() - Method in class spellcast.client.cenginei
 
hasFinished() - Method in class spellcast.game.Game
Returns whether the game has finished.
hasFinished() - Method in interface spellcast.game.IGame
Returns whether the game has finished.
hashCode() - Method in class spellcast.enchantment.EnchantmentImpl
The hashCode of this object as per Object.hashCode.
hashCode() - Method in class spellcast.game.Turn
hashCode() - Method in class spellcast.model.Id
 
hasStarted() - Method in class spellcast.game.Game
Returns whether the game has started.
hasStarted() - Method in interface spellcast.game.IGame
Returns whether the game has started.
HasteEnchantment - Class in spellcast.enchantment
The Haste Enchantment.
HasteEnchantment() - Constructor for class spellcast.enchantment.HasteEnchantment
Provided for serialization, do not use as a constructor.
HasteEnchantment(IBeing, IBeing) - Constructor for class spellcast.enchantment.HasteEnchantment
Creates a new HasteEnchantment object.

I

IBeing - Interface in spellcast.beings
The Being Interface.
IceElemental - Class in spellcast.beings
 
IceElemental() - Constructor for class spellcast.beings.IceElemental
 
Id - Class in spellcast.model
An Id is used as an identifier for all model objects.
IGame - Interface in spellcast.game
The Spellcast Game.
ImageNotAvailableException - Exception in spellcast.ui
 
ImageNotAvailableException(String) - Constructor for exception spellcast.ui.ImageNotAvailableException
 
IMonster - Interface in spellcast.beings
 
init(String) - Method in class spellcast.server.Server
 
init() - Method in class spellcast.ui.QueryDisplay
 
init() - Method in class spellcast.ui.SpellcastWindow
Initialise all member variables to a known clean "initial" state.
init() - Method in class spellcast.ui.WizardDisplay
 
initialise_the_program() - Method in class spellcast.client.cengine
 
initialise_the_program() - Method in class spellcast.client.cenginei
 
installDefaults() - Method in class spellcast.ui.WizardDetails
 
instance() - Static method in class spellcast.gestures.GestureFactory
Deprecated. The instance of the GestureFactory.
InvisibleEnchantment - Class in spellcast.enchantment
The Invisible Enchantment.
InvisibleEnchantment() - Constructor for class spellcast.enchantment.InvisibleEnchantment
Provided for serialization, do not use as a constructor.
InvisibleEnchantment(IBeing, IBeing) - Constructor for class spellcast.enchantment.InvisibleEnchantment
Creates a new InvisibleEnchantment object.
io_error_event - Static variable in class spellcast.client.cenginei
 
IPC - Interface in spellcast.game
This interface allows the game to use inter process communication to the clients connected to the game.
IPCHandle - Interface in spellcast.game
An opaque handler for IPC specific uses.
IPCRequest - Class in spellcast.game
An incoming IPC message.
IPCRequest(IPCHandle, Id, GameEvent) - Constructor for class spellcast.game.IPCRequest
 
IQuestion - Interface in spellcast.questions
The IQuestion interface for all questions asked of IWizards.
IRequiresTarget - Interface in spellcast.questions
This interface requires a target.
isActive() - Method in class spellcast.beings.Being
Indicates whether this Being is active this turn.
isActive() - Method in interface spellcast.beings.IBeing
Indicates whether this Being is active this turn.
isAlive() - Method in class spellcast.beings.Being
Determine if this Being is currently alive.
isAlive() - Method in interface spellcast.beings.IBeing
Determine if this Being is currently alive.
isCellEditable(int, int) - Method in class spellcast.ui.ServerListTableModel
 
isClient() - Method in class spellcast.ui.WizardDetails
Get the value of client.
isConnected() - Method in interface spellcast.game.IPCHandle
Indicates whether the IPC system has connected the client yet.
isConnected() - Method in class spellcast.net.WizardSocket
Indicates whether the IPC system has connected the client yet.
isHaste() - Method in class spellcast.game.Turn
Indicates whether this turn is a Haste turn.
isHaste() - Method in enum spellcast.game.TurnType
Indicates whether this turn is a Haste turn.
isNormal() - Method in class spellcast.game.Turn
Indicates whether this turn is a Normal turn.
isNormal() - Method in enum spellcast.game.TurnType
Indicates whether this turn is a Normal turn.
isNull() - Method in class spellcast.beings.Being
isNull() - Method in class spellcast.damage.DamageType
ISpell - Interface in spellcast.spell
A ISpell cast by a IWizard.
isPermanent() - Method in interface spellcast.enchantment.Enchantment
isPermanent indicates whether the Enchantment is permanently enabled.
isPermanent() - Method in class spellcast.enchantment.EnchantmentImpl
isPermanent indicates whether the Enchantment is permanently enabled.
isReady() - Method in interface spellcast.beings.IWizard
Whether the Wizard has completed their actions for this turn and is ready for the next turn.
isReady() - Method in class spellcast.beings.Wizard
Whether the Wizard has completed their actions for this turn and is ready for the next turn.
isResistant(DamageType) - Method in interface spellcast.enchantment.Enchantment
isResistant checks to see if the Enchantment will resist the specified DamageType.
isResistant(DamageType) - Method in class spellcast.enchantment.EnchantmentImpl
isResistant checks to see if the Enchantment will resist the specified DamageType.
isTimeStop() - Method in class spellcast.game.Turn
Indicates whether this turn is a TimeStop turn.
isTimeStop() - Method in enum spellcast.game.TurnType
Indicates whether this turn is a TimeStop turn.
isTwoHanded() - Method in enum spellcast.gestures.Gesture
Indicates whether this Gesture is two handed or one handed.
isUnclear() - Method in enum spellcast.gestures.Gesture
Indicates whether the Gesture is unclear.
IWizard - Interface in spellcast.beings
A Wizard of Spellcast.

J

join() - Method in class spellcast.client.ClientConnectionHandler
Waits for the socket handler thread to complete.

K

KnifeAttack - Class in spellcast.damage
An attachk via Knife.
KnifeAttack() - Constructor for class spellcast.damage.KnifeAttack
 

L

LEFT_HANDED - Static variable in class spellcast.ui.GestureIcon
A flag to indicate that left handed images are desired.
LeftHandedGesturePopupMenu - Class in spellcast.ui
 
LeftHandedGesturePopupMenu() - Constructor for class spellcast.ui.LeftHandedGesturePopupMenu
 
loadDefaultProfile() - Static method in class spellcast.ui.WizardProfiles
Return the default wizard profile, or null if it does not exist.
loadProfiles() - Static method in class spellcast.ui.WizardProfiles
Return a list of WizardProfiles.
log(String) - Method in class spellcast.game.GameLog
 
logRoundHeader(Game) - Method in class spellcast.game.GameLog
 

M

Main - Class in spellcast.client
The main class for the Client Spellcast program.
Main(String[]) - Constructor for class spellcast.client.Main
 
main(String[]) - Static method in class spellcast.client.Main
 
Main - Class in spellcast.server
The Main class for starting the Spellcast Server.
Main(String[]) - Constructor for class spellcast.server.Main
 
main(String[]) - Static method in class spellcast.server.Main
 
MALE - Static variable in class spellcast.beings.Gender
 
Male - Class in spellcast.beings
Implementation of the Male Gender class.
Male() - Constructor for class spellcast.beings.Male
 
mapGameEventToStateMachineEvent() - Method in class spellcast.client.cengine
 
message_event - Static variable in class spellcast.client.cenginei
 
MESSAGE_PROP - Static variable in interface spellcast.ui.UIProperties
 
MessageEvent - Class in spellcast.event
A Message Event contains a strig message to be sent to the wizards.
MessageEvent(String) - Constructor for class spellcast.event.MessageEvent
Create a Message Event.
Monster - Class in spellcast.beings
 
Monster() - Constructor for class spellcast.beings.Monster
TODO: Leave this in until monsters are added properly.
Monster(String, Gender, int) - Constructor for class spellcast.beings.Monster
 
MonsterDetails - Class in spellcast.ui
 
MonsterDetails(Monster) - Constructor for class spellcast.ui.MonsterDetails
 

N

NetConstants - Interface in spellcast.net
This class contains the game constants that are global and do not belong in a particular class.
NetworkController - Interface in spellcast.ui
This is an interface to allow the GUI to request networking services.
NEUTER - Static variable in class spellcast.beings.Gender
 
Neuter - Class in spellcast.beings
Implementation of the Neuter Gender Class.
Neuter() - Constructor for class spellcast.beings.Neuter
 
NEW_GAME_PROP - Static variable in interface spellcast.ui.UIProperties
 
NewGameDialog - Class in spellcast.ui
The New Game Dialog allows the user to create a new spellcast server.
NewGameDialog() - Constructor for class spellcast.ui.NewGameDialog
 
NewGameEvent - Class in spellcast.ui
Property change event for a new game.
NewGameEvent(String, String) - Constructor for class spellcast.ui.NewGameEvent
 
newNull() - Static method in class spellcast.beings.Being
Return a Null IBeing.
newNull() - Static method in class spellcast.beings.Monster
Return a Null Monster.
newNull() - Static method in class spellcast.beings.Wizard
Return a Null Wizard.
NO_ONE - Static variable in class spellcast.model.Id
This Id indicates that a message is from no one.
NONE - Static variable in class spellcast.beings.Gender
 
NullBeing - Class in spellcast.beings
A Null Being.
NullDamageType - Class in spellcast.damage
 
NullDamageType() - Constructor for class spellcast.damage.NullDamageType
Creates a new instance of NullDamageType
NullMonster - Class in spellcast.beings
A Null Monster.
NullWizard - Class in spellcast.beings
A Null Wizard.

O

OBSERVERS_ONLY - Static variable in class spellcast.net.ConnectionStatus
 
Ogre - Class in spellcast.beings
 
Ogre() - Constructor for class spellcast.beings.Ogre
 
ok_event - Static variable in class spellcast.client.cenginei
 
OK_PROP - Static variable in interface spellcast.ui.UIProperties
 
OkEvent - Class in spellcast.event
An Ok Event specifies that the wizard has completed their turn.
OkEvent() - Constructor for class spellcast.event.OkEvent
Create an OkEvent.

P

paint(Graphics, JComponent) - Method in class spellcast.ui.GestureMenuItemUI
Override painting to just paint the icon with no borders or embellishments.
ParalysisEnchantment - Class in spellcast.enchantment
The Paralysis Enchantment.
ParalysisEnchantment() - Constructor for class spellcast.enchantment.ParalysisEnchantment
Provided for serialization, do not use as a constructor.
ParalysisEnchantment(IBeing, IBeing) - Constructor for class spellcast.enchantment.ParalysisEnchantment
Creates a new ParalysisEnchantment object.
PermanencyEnchantment - Class in spellcast.enchantment
The Permanency Enchantment.
PermanencyEnchantment() - Constructor for class spellcast.enchantment.PermanencyEnchantment
Provided for serialization, do not use as a constructor.
PermanencyEnchantment(IBeing, IWizard) - Constructor for class spellcast.enchantment.PermanencyEnchantment
Creates a new PermanencyEnchantment object.
PoisonedEnchantment - Class in spellcast.enchantment
The Poisoned Enchantment.
PoisonedEnchantment() - Constructor for class spellcast.enchantment.PoisonedEnchantment
Provided for serialization, do not use as a constructor.
PoisonedEnchantment(IBeing, IBeing) - Constructor for class spellcast.enchantment.PoisonedEnchantment
Creates a new PoisonedEnchantment object.
pro_he() - Method in class spellcast.beings.Female
Return the "he" like pronoun.
pro_he() - Method in class spellcast.beings.Gender
Return the "he" like pronoun.
pro_he() - Method in class spellcast.beings.GenderNone
Return the "he" like pronoun.
pro_he() - Method in class spellcast.beings.Male
Return the "he" like pronoun.
pro_he() - Method in class spellcast.beings.Neuter
Return the "he" like pronoun.
pro_him() - Method in class spellcast.beings.Female
Return the "him" like pronoun.
pro_him() - Method in class spellcast.beings.Gender
Return the "him" like pronoun.
pro_him() - Method in class spellcast.beings.GenderNone
Return the "him" like pronoun.
pro_him() - Method in class spellcast.beings.Male
Return the "him" like pronoun.
pro_him() - Method in class spellcast.beings.Neuter
Return the "him" like pronoun.
pro_himself() - Method in class spellcast.beings.Female
Return the "himself" like pronoun.
pro_himself() - Method in class spellcast.beings.Gender
Return the "himself" like pronoun.
pro_himself() - Method in class spellcast.beings.GenderNone
Return the "himself" like pronoun.
pro_himself() - Method in class spellcast.beings.Male
Return the "himself" like pronoun.
pro_himself() - Method in class spellcast.beings.Neuter
Return the "himself" like pronoun.
pro_his() - Method in class spellcast.beings.Female
Return the "his" like pronoun.
pro_his() - Method in class spellcast.beings.Gender
Return the "his" like pronoun.
pro_his() - Method in class spellcast.beings.GenderNone
Return the "his" like pronoun.
pro_his() - Method in class spellcast.beings.Male
Return the "his" like pronoun.
pro_his() - Method in class spellcast.beings.Neuter
Return the "his" like pronoun.
processOkEvent(IPCRequest) - Method in class spellcast.game.Game_Server
Process OkEvent.
processTurn() - Method in class spellcast.game.Game
Process the current turn.
processTurn() - Method in interface spellcast.game.IGame
Process the current turn.
profilesFile - Static variable in class spellcast.ui.WizardProfiles
 
programVersionDetails - Static variable in class spellcast.client.Client
 
propertyChange(PropertyChangeEvent) - Method in class spellcast.client.Client
Listen for property changes from the GUI
propertyChange(PropertyChangeEvent) - Method in class spellcast.game.Game_Server
Unless otherwise specified, all property change events are forwarded to all clients
propertyChange(PropertyChangeEvent) - Method in class spellcast.test.PropertyChangeListenerTester
 
PropertyChangeListenerTester - Class in spellcast.test
This class checks to see that properties it receives via PropertyChangeListener are expected.
PropertyChangeListenerTester() - Constructor for class spellcast.test.PropertyChangeListenerTester
Create a PropertyChangeListenerTester.
PropertyUpdater - Interface in spellcast.model
This interface will notify ui when the model changes.
ProtectionFromEvilEnchantment - Class in spellcast.enchantment
The Protection from Evil Enchantment.
ProtectionFromEvilEnchantment() - Constructor for class spellcast.enchantment.ProtectionFromEvilEnchantment
Provided for serialization, do not use as a constructor.
ProtectionFromEvilEnchantment(IBeing, IBeing) - Constructor for class spellcast.enchantment.ProtectionFromEvilEnchantment
Creates a new ProtectionFromEvilEnchantment object.

Q

QueryDisplay - Class in spellcast.ui
The Query Display is the place where spellcast asks queries of the user.
QueryDisplay() - Constructor for class spellcast.ui.QueryDisplay
 
QueryEvent - Class in spellcast.event
A Query Event contains a query for the specified client.
QueryEvent(Question) - Constructor for class spellcast.event.QueryEvent
 
Question - Class in spellcast.questions
Default Implementation of IQuestion.
Question(String, List<? extends Object>) - Constructor for class spellcast.questions.Question
 
QuestionType - Enum in spellcast.questions
 

R

raise_exception(int) - Method in class spellcast.client.cenginei
 
receive() - Method in class spellcast.client.ClientConnectionHandler
Removes the first event from the incoming event queue and returns it.
receive() - Method in interface spellcast.game.IPC
Receive an event from a client.
receive() - Method in class spellcast.net.WizardSocket
Receive a message from the socket.
receive() - Method in class spellcast.server.ServerConnectionHandler
Removes the first event from the incoming event queue and returns it.
remove(ServerStatus) - Method in class spellcast.ui.ServerListTableModel
 
remove_connection() - Method in class spellcast.client.cengine
If the target of this event is the client's wizardID then we gracefully shutdown.
remove_connection() - Method in class spellcast.client.cenginei
 
removeEnchantment(Enchantment) - Method in class spellcast.beings.Being
Remove the specified Enchantment from this Being.
removeEnchantment(Enchantment) - Method in interface spellcast.beings.IBeing
Remove the specified Enchantment from this Being.
removeGestureListener(GestureListener) - Method in class spellcast.ui.GestureButton
 
removeGestureListener(GestureListener) - Method in class spellcast.ui.GesturePopupMenu
 
removePropertyChangeListener(PropertyChangeListener) - Method in class spellcast.beings.Being
Remove a PropertyChangeListener from this Being.
removePropertyChangeListener(PropertyChangeListener) - Method in interface spellcast.model.PropertyUpdater
 
removePropertyChangeListener(PropertyChangeListener) - Method in class spellcast.ui.ConnectionDialog
 
removePropertyChangeListener(PropertyChangeListener) - Method in class spellcast.ui.NewGameDialog
 
removePropertyChangeListener(PropertyChangeListener) - Method in class spellcast.ui.SpellcastWindow
 
removePropertyChangeListener(PropertyChangeListener) - Method in class spellcast.ui.WizardProfiles
 
removeWizard(IWizard) - Method in class spellcast.client.Client
Remove a wizard from the view.
removeWizard(IWizard) - Method in class spellcast.game.Game
Remove a wizard from the system.
removeWizard(IWizard) - Method in interface spellcast.game.IGame
Remove a wizard from the system.
removeWizard(IWizard) - Method in interface spellcast.ui.SpellcastView
Remove a wizard from the view.
removeWizard(IWizard) - Method in class spellcast.ui.SpellcastWindow
Remove a wizard from the view.
removeWizard(IWizard) - Method in class spellcast.ui.WizardDisplay
 
ResistColdEnchantment - Class in spellcast.enchantment
The Resist Cold Enchantment.
ResistColdEnchantment() - Constructor for class spellcast.enchantment.ResistColdEnchantment
Provided for serialization, do not use as a constructor.
ResistColdEnchantment(IBeing, IBeing) - Constructor for class spellcast.enchantment.ResistColdEnchantment
Creates a new ResistColdEnchantment object.
ResistHeatEnchantment - Class in spellcast.enchantment
The Resist Heat Enchantment.
ResistHeatEnchantment() - Constructor for class spellcast.enchantment.ResistHeatEnchantment
Provided for serialization, do not use as a constructor.
ResistHeatEnchantment(IBeing, IBeing) - Constructor for class spellcast.enchantment.ResistHeatEnchantment
Creates a new ResistHeatEnchantment object.
ResolveSpells - Class in spellcast.game
 
ResolveSpells() - Constructor for class spellcast.game.ResolveSpells
 
RIGHT_HANDED - Static variable in class spellcast.ui.GestureIcon
A flag to indicate that right handed images are desired.
RightHandedGesturePopupMenu - Class in spellcast.ui
 
RightHandedGesturePopupMenu() - Constructor for class spellcast.ui.RightHandedGesturePopupMenu
 
run() - Method in class spellcast.client.cengine
When clientConnectionHandler has successfully connected to the Server it will create the cengine thread.
run() - Method in class spellcast.client.ClientConnectionHandler
 
run() - Method in class spellcast.game.Game_Server
 
run() - Method in class spellcast.server.ServerConnectionHandler
This thread will start running when start is called and continue running until the stop method is called.
run() - Method in class spellcast.server.ServerStatusRequestHandler
This thread will start running when start is called and continue running until the stop method is called.

S

SelectTargetQuestion - Class in spellcast.questions
Select a Target Question.
SelectTargetQuestion(IRequiresTarget, List<IWizard>) - Constructor for class spellcast.questions.SelectTargetQuestion
 
send(GameEvent) - Method in class spellcast.client.ClientConnectionHandler
Send the event to the server.
send(Id, GameEvent) - Method in interface spellcast.game.IPC
Send an event to the specified client.
send(GameEvent) - Method in class spellcast.net.WizardSocket
Send the GameEvent down the socket.
send(Id, GameEvent) - Method in class spellcast.server.ServerConnectionHandler
Send an event to the specified client.
sendMessage(String) - Method in class spellcast.game.Game_Server
Send a message to everyone.
sendMessage2(Id, String, String) - Method in class spellcast.game.Game_Server
Send a message to one Id and another message to everyone else.
sendMessage3(Id, String, Id, String, String) - Method in class spellcast.game.Game_Server
Send a message to one Id, a message to another Id, and a message to everyone else.
sendToAll(GameEvent) - Method in interface spellcast.game.IPC
Send the event to all clients.
sendToAll(GameEvent) - Method in class spellcast.server.ServerConnectionHandler
Send the event to all clients.
Server - Class in spellcast.server
The Server class for Spellcast.
ServerConnectionHandler - Class in spellcast.server
This class handles all incoming and outgoing network traffic.
ServerConnectionHandler(VersionDetails, InetAddress, int) - Constructor for class spellcast.server.ServerConnectionHandler
 
ServerException - Exception in spellcast.server
Represents an error in the Server.
ServerException(Exception) - Constructor for exception spellcast.server.ServerException
 
ServerException(String) - Constructor for exception spellcast.server.ServerException
 
ServerListTableModel - Class in spellcast.ui
This class represents the table model for storing a server list.
ServerListTableModel() - Constructor for class spellcast.ui.ServerListTableModel
 
servers() - Method in class spellcast.ui.ServerListTableModel
 
ServerStatus - Class in spellcast.net
This class contains the status of the server.
ServerStatus(Server) - Constructor for class spellcast.net.ServerStatus
 
serverStatus(boolean) - Method in interface spellcast.ui.NetworkController
Requests the network controller to start or stop sending server status requests.
ServerStatusRequestHandler - Class in spellcast.server
The ServerStatusRequestHandler listens for ServerStatusRequest messages and handles them.
ServerStatusRequestHandler() - Constructor for class spellcast.server.ServerStatusRequestHandler
 
setActive(boolean) - Method in class spellcast.beings.Being
Sets this Being as active for this turn.
setActive(boolean) - Method in interface spellcast.beings.IBeing
Sets this Being as active for this turn.
setAlive(boolean) - Method in class spellcast.beings.Being
Sets whether this Being is currently alive.
setAlive(boolean) - Method in interface spellcast.beings.IBeing
Sets whether this Being is currently alive.
setAnswer(Object) - Method in interface spellcast.questions.IQuestion
Set the value of the answer.
setAnswer(Object) - Method in class spellcast.questions.Question
Set the value of the answer.
setAnswers(List) - Method in class spellcast.event.OkEvent
Set the value of answers.
setCaster(IBeing) - Method in class spellcast.enchantment.EnchantmentImpl
Sets the casting Wizard of this Enchantment.
setClient(boolean) - Method in class spellcast.ui.WizardDetails
Set the value of client.
setDescription(String) - Method in class spellcast.enchantment.EnchantmentImpl
Set the description of this Enchantment.
setDuration(int) - Method in class spellcast.enchantment.EnchantmentImpl
Sets the duration of this Enchantment.
setEnabled(boolean) - Method in class spellcast.ui.QueryDisplay
Enable/Disable the answer components as per the enabled value.
setEvent(PropertyChangeEvent) - Method in class spellcast.event.GameUpdateEvent
Set the value of event.
setGame(Game) - Method in class spellcast.client.Client
Set the value of the current Game.
setGame(Game) - Method in class spellcast.event.GameSyncEvent
Set the value of game.
setGame(Game) - Method in interface spellcast.ui.SpellcastView
Set the value of the current Game.
setGame(Game) - Method in class spellcast.ui.SpellcastWindow
Set the value of the current Game.
setGameEvent(GameEvent) - Method in class spellcast.game.IPCRequest
Set the value of event.
setGameLog(GameLog) - Method in class spellcast.game.Game
Set the value of gameLog.
setGender(Gender) - Method in class spellcast.beings.Being
Sets the Gender of this Being.
setGender(Gender) - Method in interface spellcast.beings.IBeing
Sets the Gender of this Being.
setGenderString(String) - Method in class spellcast.beings.Gender
Set the value of genderString.
setGesture(Gesture) - Method in class spellcast.ui.GestureButton
 
setHandle(IPCHandle) - Method in class spellcast.game.IPCRequest
Set the value of handle.
setHitPoints(int) - Method in class spellcast.beings.Being
Set the value for the current HitPoints for this Being.
setHitPoints(int) - Method in interface spellcast.beings.IBeing
Set the value for the current HitPoints for this Being.
setId(Id) - Method in class spellcast.beings.Being
Set the Id of this Being.
setId(Id) - Method in interface spellcast.beings.IBeing
Set the Id of this Being.
setID(Id) - Method in class spellcast.client.Client
Set the value of id.
setId(Id) - Method in class spellcast.enchantment.EnchantmentImpl
Set the Id of this Enchantment.
setID(Id) - Method in class spellcast.game.IPCRequest
Set the value of id.
setID(Id) - Method in class spellcast.net.WizardSocket
Set the value of id.
setID(Id) - Method in interface spellcast.ui.SpellcastView
Set the value of Wizard's id.
setID(Id) - Method in class spellcast.ui.SpellcastWindow
Set the value of id.
setID(Id) - Method in class spellcast.ui.WizardDisplay
Set the value of id.
setLeavesCorpse(boolean) - Method in class spellcast.beings.Being
This Being will leave a corpse on death if this value is true, otherwise no corpse will be created.
setLeavesCorpse(boolean) - Method in interface spellcast.beings.IBeing
This Being will leave a corpse on death if this value is true, otherwise no corpse will be created.
setLeftHandGesture(Gesture) - Method in interface spellcast.beings.IWizard
Set the value of leftHandGesture.
setLeftHandGesture(Gesture) - Method in class spellcast.beings.Wizard
Set the value of leftHandGesture.
setLeftHandGesture(Gesture) - Method in class spellcast.event.OkEvent
Set the value of leftHandGesture.
setMaxHitPoints(int) - Method in class spellcast.beings.Being
Set the value for the Maximum Hit Points for this Being.
setMaxHitPoints(int) - Method in interface spellcast.beings.IBeing
Set the value for the Maximum Hit Points for this Being.
setName(String) - Method in class spellcast.beings.Being
Sets the name of this Being.
setName(String) - Method in interface spellcast.beings.IBeing
Sets the name of this Being.
setName(String) - Method in class spellcast.enchantment.EnchantmentImpl
Set the name of this Enchantment.
setNull(boolean) - Method in class spellcast.beings.Being
Set whether this object is a Nullable.
setNull(boolean) - Method in class spellcast.damage.DamageType
Set whether this object is a Nullable.
setNumber(int) - Method in class spellcast.game.Turn
Set the value of the turn number.
setPermanent(boolean) - Method in interface spellcast.enchantment.Enchantment
setPermanent sets the permanency value of this Enchantment to the value specified.
setPermanent(boolean) - Method in class spellcast.enchantment.EnchantmentImpl
Sets whether this Enchantment is permanent.
setQuery(Question) - Method in class spellcast.event.QueryEvent
Set the value of query.
setReady(boolean) - Method in interface spellcast.beings.IWizard
Indicate whether the Wizard has completed all the actions for this turn and is ready for the turn to be completed.
setReady(boolean) - Method in class spellcast.beings.Wizard
Indicate whether the Wizard has completed all the actions for this turn and is ready for the turn to be completed.
setResistance(DamageType) - Method in class spellcast.enchantment.EnchantmentImpl
Sets the resistance of this Enchantment to the specified DamageType.
setRightHandGesture(Gesture) - Method in interface spellcast.beings.IWizard
Set the value of rightHandGesture.
setRightHandGesture(Gesture) - Method in class spellcast.beings.Wizard
Set the value of rightHandGesture.
setRightHandGesture(Gesture) - Method in class spellcast.event.OkEvent
Set the value of rightHandGesture.
setSocket(Socket) - Method in class spellcast.net.WizardSocket
Set the value of socket.
setSource(Id) - Method in class spellcast.event.GameUpdateEvent
Set the value of source.
setTarget(IBeing) - Method in class spellcast.damage.KnifeAttack
Set the target.
setTarget(IBeing) - Method in class spellcast.enchantment.EnchantmentImpl
Sets the target IBeing of this Enchantment.
setTarget(IBeing) - Method in interface spellcast.questions.IRequiresTarget
Set the target.
setTurn(Turn) - Method in class spellcast.game.Game
Set the the curent turn for the game.
setTurn(Turn) - Method in interface spellcast.game.IGame
Set the the curent turn for the game.
setType(DamageType) - Method in class spellcast.damage.Damage
 
setType(String) - Method in class spellcast.damage.DamageType
 
setType(TurnType) - Method in class spellcast.game.Turn
Set the value of the turn type.
setupTurnActive() - Method in class spellcast.game.Engine
 
setValue(int) - Method in class spellcast.damage.Damage
 
setVisible(boolean) - Method in class spellcast.client.Client
 
setVisible(boolean) - Method in class spellcast.ui.ConnectionDialog
 
setWizardID(Id) - Method in class spellcast.event.DisconnectionEvent
Set the value of wizardID.
ShieldSpell - Class in spellcast.spell
This spell protects the subject from all attacks from monsters (that is, creatures created by a summons class spell), from missile spells, and from stabs by wizards.
ShieldSpell(IWizard, IBeing) - Constructor for class spellcast.spell.ShieldSpell
Create a Shield ISpell.
shouldDie() - Method in class spellcast.beings.Being
Determine if this being should die.
shouldDie() - Method in interface spellcast.beings.IBeing
Determine if this being should die.
SHOW_CONNECTION_DIALOG_PROP - Static variable in interface spellcast.ui.UIProperties
 
SHOW_NEW_GAME_DIALOG_PROP - Static variable in interface spellcast.ui.UIProperties
 
SPELLCAST - Static variable in class spellcast.model.Id
This Id indicates that a message is from the game engine.
spellcast.beings - package spellcast.beings
 
spellcast.client - package spellcast.client
 
spellcast.damage - package spellcast.damage
 
spellcast.enchantment - package spellcast.enchantment
The Enchantments of the Spellcast System.
spellcast.event - package spellcast.event
 
spellcast.game - package spellcast.game
 
spellcast.gestures - package spellcast.gestures
The Gestures of the Spellcast System.
spellcast.model - package spellcast.model
 
spellcast.net - package spellcast.net
 
spellcast.questions - package spellcast.questions
 
spellcast.server - package spellcast.server
 
spellcast.spell - package spellcast.spell
 
spellcast.test - package spellcast.test
 
spellcast.ui - package spellcast.ui
 
spellcast.util - package spellcast.util
 
SPELLCAST_NET_BROADCAST_INETADDRESS - Static variable in interface spellcast.net.NetConstants
The InetAddress used for broadcasting messages.
SPELLCAST_NET_DEFAULT_PORT - Static variable in interface spellcast.net.NetConstants
The default port for accepting connections to the spellcast server.
SPELLCAST_NET_SERVERLIST_PORT - Static variable in interface spellcast.net.NetConstants
The port used for listening for ServerListRequest messages.
SpellcastView - Interface in spellcast.ui
This interface provides all the GUI view manipulation methods.
SpellcastWindow - Class in spellcast.ui
This window contains the three main displays of Spellcast; the Text Display, Wizard Display and Query Display.
SpellcastWindow() - Constructor for class spellcast.ui.SpellcastWindow
Creates the main window and hooks the UI together.
SpellImpl - Class in spellcast.spell
The default implementation of ISpell.
SpellImpl(IWizard, IBeing, Gesture[], String) - Constructor for class spellcast.spell.SpellImpl
Creates the default implementation of SpellImpl.
start() - Method in class spellcast.game.Game_Server
Start the Game Server.
start() - Method in class spellcast.server.Server
 
start() - Method in class spellcast.server.ServerConnectionHandler
Allocate resources, create and start the thread.
start() - Method in class spellcast.server.ServerStatusRequestHandler
Allocate resources, create and start the thread.
start() - Method in class spellcast.test.PropertyChangeListenerTester
 
startServer(String) - Method in interface spellcast.ui.NetworkController
Request the network controller to start a server on the specified bindaddress and port.
stop() - Method in class spellcast.game.Game_Server
Stop the Game Server.
stop() - Method in class spellcast.server.Server
Stop the server.
stop() - Method in class spellcast.server.ServerConnectionHandler
Sets the isRunning flag to false which lets run exit the infite loop.
stop() - Method in class spellcast.server.ServerStatusRequestHandler
Sets the isRunning flag to false which lets run exit the infite loop.
stop() - Method in class spellcast.test.PropertyChangeListenerTester
 
stop_event - Static variable in class spellcast.client.cenginei
 
stopServer() - Method in interface spellcast.ui.NetworkController
Request the network controller to stop the existing server.
sync_game() - Method in class spellcast.client.cengine
If there is no game info, just use the one given.
sync_game() - Method in class spellcast.client.cenginei
 

T

takeDamage(Damage) - Method in class spellcast.beings.Being
The specified damage is dealt to this Being.
takeDamage(Damage) - Method in interface spellcast.beings.IBeing
The specified damage is dealt to this Being.
terminate_event - Static variable in class spellcast.client.cenginei
 
TextUtil - Class in spellcast.util
Miscellaneous text utilities for Spellcast strings.
the_exception_event - Static variable in class spellcast.client.cenginei
 
the_next_event - Static variable in class spellcast.client.cenginei
 
TimeStopEnchantment - Class in spellcast.enchantment
The Time Stop Enchantment.
TimeStopEnchantment() - Constructor for class spellcast.enchantment.TimeStopEnchantment
Provided for serialization, do not use as a constructor.
TimeStopEnchantment(IBeing, IBeing) - Constructor for class spellcast.enchantment.TimeStopEnchantment
Creates a new TimeStopEnchantment object.
toString() - Method in class spellcast.beings.Wizard
toString() - Method in class spellcast.damage.DamageType
The string value of a damage type is it's type.
toString() - Method in class spellcast.game.Turn
toString() - Method in class spellcast.model.Id
 
toString() - Method in class spellcast.net.ConnectionStatus
 
toString() - Method in class spellcast.net.VersionDetails
 
toString() - Method in class spellcast.questions.Question
 
toString() - Method in class spellcast.ui.WizardProfile
 
Troll - Class in spellcast.beings
 
Troll() - Constructor for class spellcast.beings.Troll
 
Turn - Class in spellcast.game
A Turn contains a number that indicates what sequence of turns this turn is as well as a type to indicate the type of the turn.
Turn(int, TurnType) - Constructor for class spellcast.game.Turn
 
turnComplete() - Method in interface spellcast.enchantment.Enchantment
Notify the Enchantment that a turn has been completed and to update itself accordingly.
turnComplete() - Method in class spellcast.enchantment.EnchantmentImpl
Notify the Enchantment that a turn has been completed and to update itself accordingly.
TurnType - Enum in spellcast.game
The type of turns available in spellcast.

U

UIProperties - Interface in spellcast.ui
This interface contains all the UI properties that can be fired in a PropertyChangeEvent.
unknown_event - Static variable in class spellcast.client.cenginei
 
update(PropertyChangeEvent) - Method in class spellcast.game.Game
Update the client's local copy of the game with the value contained in the property change event.
update(PropertyChangeEvent) - Method in interface spellcast.model.Updateable
Given a property change event update this object to reflect the new value in the event.
update_game() - Method in class spellcast.client.cengine
A property has changed in the game.
update_game() - Method in class spellcast.client.cenginei
 
Updateable - Interface in spellcast.model
This interface marks an object as being updateable from a PropertyChangeEvent.
updateEnchantments() - Method in class spellcast.beings.Being
Each Enchantment on this Being is notified that the turn has been completed via turnComplete.
updateEnchantments() - Method in interface spellcast.beings.IBeing
Each Enchantment on this Being is notified that the turn has been completed via turnComplete.

V

valueOf(String) - Static method in enum spellcast.game.TurnType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum spellcast.gestures.Gesture
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum spellcast.questions.QuestionType
Returns the enum constant of this type with the specified name.
values() - Static method in enum spellcast.game.TurnType
Returns an array containing the constants of this enum type, in the order they're declared.
values() - Static method in enum spellcast.gestures.Gesture
Returns an array containing the constants of this enum type, in the order they're declared.
values() - Static method in enum spellcast.questions.QuestionType
Returns an array containing the constants of this enum type, in the order they're declared.
VersionDetails - Class in spellcast.net
This class contains the version details.
VersionDetails(String, int, int, int) - Constructor for class spellcast.net.VersionDetails
Provide the actual values for the version numbers.
VersionDetails(VersionDetails) - Constructor for class spellcast.net.VersionDetails
Copy constructor.

W

Wizard - Class in spellcast.beings
A Wizard of Spellcast.
Wizard() - Constructor for class spellcast.beings.Wizard
Provided for serialization, do not use as a constructor.
Wizard(Id, String, Gender) - Constructor for class spellcast.beings.Wizard
Creates a new Wizard object.
Wizard(Wizard) - Constructor for class spellcast.beings.Wizard
Create a view of the original wizard that the gestures of the original wizard are correctly hidden.
WizardDetails - Class in spellcast.ui
This component displays the wizards details.
WizardDetails(IWizard) - Constructor for class spellcast.ui.WizardDetails
 
WizardDisplay - Class in spellcast.ui
This component arranges the Wizard Display to include each Wizard and any monsters they control.
WizardDisplay() - Constructor for class spellcast.ui.WizardDisplay
 
wizardName - Variable in class spellcast.ui.WizardProfile
 
WizardProfile - Class in spellcast.ui
A helper class for container wizard name and gender together to form a profile.
WizardProfile(String, String) - Constructor for class spellcast.ui.WizardProfile
 
WizardProfiles - Class in spellcast.ui
Display the profiles stored in user.home/.spellcast/Profiles.txt.
WizardProfiles() - Constructor for class spellcast.ui.WizardProfiles
 
WizardSocket - Class in spellcast.net
A Wizard Socket encapsulates the network communication required to send and receive game events.
WizardSocket(VersionDetails) - Constructor for class spellcast.net.WizardSocket
 

_

_LR_defaults_state - Static variable in class spellcast.client.cenginei
 
_LR_STATE_after_init - Static variable in class spellcast.client.cenginei
 
_LR_STATE_connected - Static variable in class spellcast.client.cenginei
 
_LR_STATE_defaults - Static variable in class spellcast.client.cenginei
 
_LR_STATE_not_connected - Static variable in class spellcast.client.cenginei
 

A B C D E F G H I J K L M N O P Q R S T U V W _

Copyright © 2001-2005 Spellcast. All Rights Reserved.