|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MessageListener
Listener events for messaging in the game. These are all mirred in
the Events
class and two of the methods, message
and modalMessage
, are frequently used from the game
pieces.
Modal messages are shown "immediately" (within the game loop) and they pause the game animation. Other messages are displayed in the course of processing user actions, and thus are presumed to follow from a player-initiated event (although they don't have to bear any obvious relationship to it and don't have to be near the player on the board).
The clear*
and handle*
methods are used internally
and should not be referenced from game pieces.
Method Summary | |
---|---|
void |
clearAllCells()
|
void |
clearCell(Cell cell)
|
void |
clearCurrentCell()
|
void |
handleInventoryMessaging()
|
void |
handleModalMessage()
|
void |
message(Cell cell,
java.lang.String message)
|
void |
modalMessage(java.lang.String message)
|
Method Detail |
---|
void clearAllCells()
void clearCell(Cell cell)
void clearCurrentCell()
void handleInventoryMessaging()
void handleModalMessage()
void message(Cell cell, java.lang.String message)
void modalMessage(java.lang.String message)
|
0.7 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
© 2009 Alx Dark