|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Torus
Interface for a Torus, that holds board data and coordinates information between players.
Method Summary | |
---|---|
Scores |
addPoints(byte manId,
byte teamId,
int points)
Add points to team score. |
Board |
getBoard(Man man)
Get a board (and indicate man has moved to this board). |
void |
moveTo(ManData manData,
byte X,
byte Y)
Indicate that a man has moved to a new position (x,y) on board (X,Y). |
Method Detail |
---|
Scores addPoints(byte manId, byte teamId, int points)
manId
- the man idteamId
- the team idpoints
- the points
Board getBoard(Man man)
man
- the man
void moveTo(ManData manData, byte X, byte Y)
manData
- the man dataX
- the xY
- the y
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |