us.asciiroth.client.event
Interface MessageListener

All Known Implementing Classes:
MessageManager

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

clearAllCells

void clearAllCells()

clearCell

void clearCell(Cell cell)

clearCurrentCell

void clearCurrentCell()

handleInventoryMessaging

void handleInventoryMessaging()

handleModalMessage

void handleModalMessage()

message

void message(Cell cell,
             java.lang.String message)

modalMessage

void modalMessage(java.lang.String message)

0.7

2009 Alx Dark