|
|||||||||
| 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 - teamId - points -
Board getBoard(Man man)
manId - manInfo - (X,Y) position of requested board,
and callback handles for updating
points and other players' positions.
void moveTo(ManData manData,
byte X,
byte Y)
manData - X - Y -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||