Serialized Form


Package spellcast.beings

Class spellcast.beings.Being extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Necessary in order to recreate the propertySupport object but without the listeners as they are client or server dependent.

Throws:
java.io.IOException - see ObjectInputStream.readObject()
java.lang.ClassNotFoundException - see ObjectInputStream.readObject()
See Also:
Serializable, ObjectInputStream.readObject()
Serialized Fields

logger

org.apache.log4j.Logger logger
Log4J logger.


enchantments

java.util.List<E> enchantments
The enchantments that are in effect on this Being.


active

boolean active
Determines if this Being is active this turn.


alive

boolean alive
Determines if this Being is alive.


id

Id id
The Id of this Being.


hitPoints

int hitPoints
The hit points of this Being.


maxHitPoints

int maxHitPoints
The Maximum Hit Points for this Being. A creature can never be healed beyond this value.


name

java.lang.String name
The name of this Being.


gender

Gender gender
The Gender of this Being.


leavesCorpse

boolean leavesCorpse
Determines if this Being should leave a corpse behind upon death.


nullable

boolean nullable

Class spellcast.beings.Female extends Gender implements Serializable

Class spellcast.beings.FireElemental extends Monster implements Serializable

Class spellcast.beings.Gender extends java.lang.Object implements Serializable

Serialized Fields

genderString

java.lang.String genderString

Class spellcast.beings.GenderNone extends Gender implements Serializable

Class spellcast.beings.Giant extends Monster implements Serializable

Class spellcast.beings.Goblin extends Monster implements Serializable

Class spellcast.beings.IceElemental extends Monster implements Serializable

Class spellcast.beings.Male extends Gender implements Serializable

Class spellcast.beings.Monster extends Being implements Serializable

Serialized Fields

owner

IWizard owner

nullable

boolean nullable
determines whether this object is a Nullable.

Class spellcast.beings.Neuter extends Gender implements Serializable

Class spellcast.beings.NullBeing extends Being implements Serializable

serialVersionUID: 1L

Class spellcast.beings.NullMonster extends Monster implements Serializable

serialVersionUID: 1L

Class spellcast.beings.NullWizard extends Wizard implements Serializable

serialVersionUID: 1L

Class spellcast.beings.Ogre extends Monster implements Serializable

Class spellcast.beings.Troll extends Monster implements Serializable

Class spellcast.beings.Wizard extends Being implements Serializable

serialVersionUID: 1L

Serialized Fields

leftHandGestures

Gesture[] leftHandGestures
The left hand Gestures.


rightHandGestures

Gesture[] rightHandGestures
The right hand Gestures.


surrendered

boolean surrendered
Indicates whether the Wizard has surrendered.


leftHandGesture

Gesture leftHandGesture
The left hand Gesture.


rightHandGesture

Gesture rightHandGesture
The right hand Gesture


ready

boolean ready
Indictes whether the Wizard has completed the current turns move and is ready.


questions

java.util.List<E> questions
The IQuestions to ask the Wizard this turn.


Package spellcast.enchantment

Class spellcast.enchantment.AmnesiaEnchantment extends EnchantmentImpl implements Serializable

serialVersionUID: 1L

Class spellcast.enchantment.BlindEnchantment extends EnchantmentImpl implements Serializable

serialVersionUID: 1L

Class spellcast.enchantment.CharmPersonEnchantment extends EnchantmentImpl implements Serializable

serialVersionUID: 1L

Class spellcast.enchantment.ConfusionEnchantment extends EnchantmentImpl implements Serializable

serialVersionUID: 1L

Class spellcast.enchantment.DelayedEffectEnchantment extends EnchantmentImpl implements Serializable

serialVersionUID: 1L

Class spellcast.enchantment.DiseasedEnchantment extends EnchantmentImpl implements Serializable

serialVersionUID: 1L

Class spellcast.enchantment.EnchantmentImpl extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

id

Id id
The Id of this Enchantment.


name

java.lang.String name
The name of this Enchantment.


description

java.lang.String description
The description of this Enchantment.


permanent

boolean permanent
Indicates whether this Enchantment is permanent.


resistance

DamageType resistance
The DamageTypes that this Enchantment provides resistance for.


duration

int duration
The number of turns an Enchantment lasts for.


caster

IBeing caster
The caster IBeing of this Enchantment.


target

IBeing target
The target IBeing of this Enchantment.

Class spellcast.enchantment.FearEnchantment extends EnchantmentImpl implements Serializable

serialVersionUID: 1L

Class spellcast.enchantment.HasteEnchantment extends EnchantmentImpl implements Serializable

serialVersionUID: 1L

Class spellcast.enchantment.InvisibleEnchantment extends EnchantmentImpl implements Serializable

serialVersionUID: 1L

Class spellcast.enchantment.ParalysisEnchantment extends EnchantmentImpl implements Serializable

serialVersionUID: 1L

Class spellcast.enchantment.PermanencyEnchantment extends EnchantmentImpl implements Serializable

serialVersionUID: 1L

Class spellcast.enchantment.PoisonedEnchantment extends EnchantmentImpl implements Serializable

serialVersionUID: 1L

Class spellcast.enchantment.ProtectionFromEvilEnchantment extends EnchantmentImpl implements Serializable

serialVersionUID: 1L

Class spellcast.enchantment.ResistColdEnchantment extends EnchantmentImpl implements Serializable

serialVersionUID: 1L

Class spellcast.enchantment.ResistHeatEnchantment extends EnchantmentImpl implements Serializable

serialVersionUID: 1L

Class spellcast.enchantment.TimeStopEnchantment extends EnchantmentImpl implements Serializable

serialVersionUID: 1L


Package spellcast.event

Class spellcast.event.ConnectionEvent extends java.lang.Object implements Serializable

Serialized Fields

wizard

Wizard wizard

Class spellcast.event.ConnectionRequestEvent extends java.lang.Object implements Serializable

Serialized Fields

wizardName

java.lang.String wizardName

gender

java.lang.String gender

Class spellcast.event.DisconnectionEvent extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

wizardID

Id wizardID

Class spellcast.event.DisconnectionRequestEvent extends java.lang.Object implements Serializable

Class spellcast.event.GameSyncEvent extends java.lang.Object implements Serializable

Serialized Fields

game

Game game

Class spellcast.event.GameUpdateEvent extends java.lang.Object implements Serializable

Serialized Fields

event

java.beans.PropertyChangeEvent event

source

Id source

Class spellcast.event.MessageEvent extends java.lang.Object implements Serializable

Serialized Fields

message

java.lang.String message

Class spellcast.event.OkEvent extends java.lang.Object implements Serializable

Serialized Fields

leftHandGesture

Gesture leftHandGesture

rightHandGesture

Gesture rightHandGesture

answers

java.util.List<E> answers

Class spellcast.event.QueryEvent extends java.lang.Object implements Serializable

Serialized Fields

query

Question query

Package spellcast.game

Class spellcast.game.Game extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

commandCatalog

org.apache.commons.chain.Catalog commandCatalog
Contains the commands needed by the Game.


gameName

java.lang.String gameName
The name of the game.


monsters

java.util.List<E> monsters
List of the IMonsters in the game.


turn

Turn turn
The current Turn.


wizards

java.util.ArrayList<E> wizards
List of the IWizards in the game.

Class spellcast.game.GameContext extends org.apache.commons.chain.impl.ContextBase implements Serializable

serialVersionUID: 1L

Class spellcast.game.Turn extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

turnNumber

int turnNumber

turnType

TurnType turnType

Package spellcast.model

Class spellcast.model.Id extends java.lang.Object implements Serializable

Serialized Fields

id

int id

Package spellcast.net

Class spellcast.net.ConnectionStatus extends java.lang.Object implements Serializable

Serialized Fields

status

java.lang.String status

Class spellcast.net.ServerStatus extends java.lang.Object implements Serializable

Serialized Fields

gameName

java.lang.String gameName

numberOfPlayers

int numberOfPlayers

serverIPAddress

java.net.InetAddress serverIPAddress

port

int port

connectionStatus

ConnectionStatus connectionStatus

versionDetails

VersionDetails versionDetails

Class spellcast.net.VersionDetails extends java.lang.Object implements Serializable

Serialized Fields

programName

java.lang.String programName

majorVersionNumber

int majorVersionNumber

minorVersionNumber

int minorVersionNumber

revisionVersionNumber

int revisionVersionNumber

Package spellcast.questions

Class spellcast.questions.Question extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

id

Id id

question

java.lang.String question

answer

java.lang.Object answer

answers

java.util.List<E> answers

Class spellcast.questions.SelectTargetQuestion extends Question implements Serializable

serialVersionUID: 1L

Serialized Fields

requiresATarget

IRequiresTarget requiresATarget
The object that requires a target.


Package spellcast.server

Class spellcast.server.ServerException extends io.RethrownException implements Serializable


Package spellcast.ui

Class spellcast.ui.ConnectionDialog extends javax.swing.JDialog implements Serializable

Serialized Fields

join

javax.swing.JButton join

create

javax.swing.JButton create

cancel

javax.swing.JButton cancel

profileList

javax.swing.JComboBox profileList

serverAddress

javax.swing.JTextField serverAddress

serverList

ServerListTableModel serverList

availableServers

javax.swing.JTable availableServers

updater

spellcast.ui.AvailableServerListUpdater updater

propertySupport

javax.swing.event.SwingPropertyChangeSupport propertySupport

Class spellcast.ui.GestureButton extends javax.swing.JButton implements Serializable

Serialized Fields

popup

GesturePopupMenu popup

listeners

java.util.ArrayList<E> listeners

currentGesture

Gesture currentGesture

useImages

boolean useImages

hand

int hand

Class spellcast.ui.GestureHistoryCellRenderer extends javax.swing.JLabel implements Serializable

Serialized Fields

hand

int hand

Class spellcast.ui.GesturePopupMenu extends javax.swing.JPopupMenu implements Serializable

Serialized Fields

listeners

java.util.ArrayList<E> listeners

selectedGesture

Gesture selectedGesture

gridbag

java.awt.GridBagLayout gridbag

Class spellcast.ui.ImageNotAvailableException extends java.lang.RuntimeException implements Serializable

Class spellcast.ui.LeftHandedGesturePopupMenu extends GesturePopupMenu implements Serializable

Class spellcast.ui.NewGameDialog extends javax.swing.JDialog implements Serializable

Serialized Fields

c_create

javax.swing.JButton c_create

c_cancel

javax.swing.JButton c_cancel

c_gameName

javax.swing.JComboBox c_gameName

c_serverAddress

javax.swing.JTextField c_serverAddress

mostRecentUsedGameNames

java.util.ArrayList<E> mostRecentUsedGameNames

mostRecentUsedGameNamesFile

java.io.File mostRecentUsedGameNamesFile

propertySupport

javax.swing.event.SwingPropertyChangeSupport propertySupport

Class spellcast.ui.QueryDisplay extends javax.swing.JPanel implements Serializable

Serialized Fields

queries

java.util.ArrayList<E> queries

answerComponents

java.util.ArrayList<E> answerComponents

verticalBox

javax.swing.Box verticalBox

Class spellcast.ui.RightHandedGesturePopupMenu extends GesturePopupMenu implements Serializable

Class spellcast.ui.ServerListTableModel extends javax.swing.table.AbstractTableModel implements Serializable

Serialized Fields

servers

java.util.ArrayList<E> servers

columnHeaders

java.lang.String[] columnHeaders

Class spellcast.ui.SpellcastWindow extends javax.swing.JFrame implements Serializable

Serialized Fields

panel

javax.swing.JPanel panel

document

javax.swing.text.DefaultStyledDocument document

wizardDisplay

WizardDisplay wizardDisplay

queryDisplay

QueryDisplay queryDisplay

c_okButton

javax.swing.JButton c_okButton

c_message

javax.swing.JTextField c_message

newGame

javax.swing.JMenuItem newGame

connect

javax.swing.JMenuItem connect

disconnect

javax.swing.JMenuItem disconnect

profiles

javax.swing.JMenuItem profiles

connectionDialog

java.awt.Dialog connectionDialog

newGameDialog

java.awt.Dialog newGameDialog

clientID

Id clientID

theGame

Game theGame

disconnectAndExit

boolean disconnectAndExit

propertySupport

javax.swing.event.SwingPropertyChangeSupport propertySupport

thisFrame

javax.swing.JFrame thisFrame

Class spellcast.ui.WizardDetails extends javax.swing.JPanel implements Serializable

Serialized Fields

wizard

IWizard wizard

title

javax.swing.JLabel title

isReadyLabel

javax.swing.JLabel isReadyLabel

leftHandHistory

javax.swing.DefaultListModel leftHandHistory

rightHandHistory

javax.swing.DefaultListModel rightHandHistory

leftHandHistoryList

javax.swing.JList leftHandHistoryList

rightHandHistoryList

javax.swing.JList rightHandHistoryList

leftHandGesture

GestureButton leftHandGesture

rightHandGesture

GestureButton rightHandGesture

hitPoints

javax.swing.JLabel hitPoints

effects

javax.swing.JLabel effects

monsterListLabel

javax.swing.JLabel monsterListLabel

monsterList

java.util.ArrayList<E> monsterList

readyColor

java.awt.Color readyColor

notReadyColor

java.awt.Color notReadyColor

client

boolean client

gridbag

java.awt.GridBagLayout gridbag

Class spellcast.ui.WizardDisplay extends javax.swing.JPanel implements Serializable

Serialized Fields

wizardIDToWizardDetailsMap

java.util.HashMap<K,V> wizardIDToWizardDetailsMap

clientID

Id clientID

Class spellcast.ui.WizardProfiles extends javax.swing.JDialog implements Serializable

Serialized Fields

gridbag

java.awt.GridBagLayout gridbag

profileList

javax.swing.JList profileList

profileModel

javax.swing.DefaultListModel profileModel

wizardName

javax.swing.JTextField wizardName

genders

javax.swing.JComboBox genders

genderModel

javax.swing.ComboBoxModel genderModel

propertySupport

javax.swing.event.SwingPropertyChangeSupport propertySupport



Copyright © 2001-2005 Spellcast. All Rights Reserved.