|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Man
Interface for structure holding current board for a man, along with callback handles for contacting the man.
| Method Summary | |
|---|---|
void |
deserialize(java.io.DataInputStream in)
Deserialize this man from a stream. |
byte |
getManId()
The id of the man. |
byte |
getX()
X coordinate of current board that the man is on. |
byte |
getY()
Y coordinate of current board that the man is on. |
void |
movedTo(ManData manData)
Callback handle to be invoked when a man has moved to a new position. |
void |
serialize(java.io.DataOutputStream out)
Serialize this man to a stream. |
void |
updatePoints(Scores scores)
Callback handle to be invoked when scores have been updated. |
| Method Detail |
|---|
byte getManId()
byte getX()
byte getY()
void movedTo(ManData manData)
manData - void updatePoints(Scores scores)
scores - Table
void serialize(java.io.DataOutputStream out)
throws java.io.IOException
java.io.IOException
void deserialize(java.io.DataInputStream in)
throws java.io.IOException
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||