|
|||||||||
Home >> All >> simplegame >> [ objects overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |
simplegame.objects
Class CharacterList

java.lang.Objectmarauroa.game.Attributes
marauroa.game.RPObject
simplegame.objects.CharacterList
- All Implemented Interfaces:
- marauroa.net.Serializable
- public class CharacterList
- extends marauroa.game.RPObject
Nested Class Summary | |
static class |
CharacterList.CharEntry
|
class |
CharacterList.CharEntryIterator
|
Nested classes inherited from class marauroa.game.RPObject |
marauroa.game.RPObject.ID, marauroa.game.RPObject.NoSlotFoundException, marauroa.game.RPObject.SlotAlreadyAddedException, marauroa.game.RPObject.SlotsIterator |
Nested classes inherited from class marauroa.game.Attributes |
marauroa.game.Attributes.AttributeNotFoundException |
Field Summary | |
private java.util.LinkedList |
charList
|
static int |
TYPE_CHARACTER_LIST
|
static int |
TYPE_CHARACTER_LIST_ENTRY
|
Fields inherited from class marauroa.game.RPObject |
INVALID_ID, objectType |
Fields inherited from class marauroa.game.Attributes |
|
Constructor Summary | |
CharacterList()
|
Method Summary | |
void |
addCharacter(int char_id,
java.lang.String char_name,
java.lang.String char_status)
|
CharacterList.CharEntryIterator |
iterator()
|
void |
readObject(marauroa.net.InputSerializer in)
Method to build the object from a stream of bytes |
void |
writeObject(marauroa.net.OutputSerializer out)
Method to convert the object into a stream |
Methods inherited from class marauroa.game.RPObject |
addSlot, getSlot, hasSlot, slotsIterator, toString |
Methods inherited from class marauroa.game.Attributes |
equals, get, has, put, put, remove |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
TYPE_CHARACTER_LIST
public static final int TYPE_CHARACTER_LIST
- See Also:
- Constant Field Values
TYPE_CHARACTER_LIST_ENTRY
public static final int TYPE_CHARACTER_LIST_ENTRY
- See Also:
- Constant Field Values
charList
private java.util.LinkedList charList
Constructor Detail |
CharacterList
public CharacterList()
Method Detail |
writeObject
public void writeObject(marauroa.net.OutputSerializer out) throws java.io.IOException
- Description copied from interface:
marauroa.net.Serializable
- Method to convert the object into a stream
readObject
public void readObject(marauroa.net.InputSerializer in) throws java.io.IOException, java.lang.ClassNotFoundException
- Description copied from interface:
marauroa.net.Serializable
- Method to build the object from a stream of bytes
addCharacter
public void addCharacter(int char_id, java.lang.String char_name, java.lang.String char_status)
iterator
public CharacterList.CharEntryIterator iterator()
|
|||||||||
Home >> All >> simplegame >> [ objects overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |