us.asciiroth.client.event
Interface CellListener

All Known Implementing Classes:
BoardView

public interface CellListener

A component that responds to updates of the cells on the board. Most importantly, a component that can re-render the cell


Method Summary
 void onCellChanged(Cell cell)
          Event notification that a cell has changed in some way: terrain has been transformed, items have been picked up or dropped, effects are flying over the cell, or similar.
 void onRerender(Cell cell, Piece piece, Symbol sym)
          Event notification that a piece would like to rerender itself at the given location.
 

Method Detail

onCellChanged

void onCellChanged(Cell cell)
Event notification that a cell has changed in some way: terrain has been transformed, items have been picked up or dropped, effects are flying over the cell, or similar.

Parameters:
cell - the cell that has changed

onRerender

void onRerender(Cell cell,
                Piece piece,
                Symbol sym)
Event notification that a piece would like to rerender itself at the given location. Used by animated piece.

Parameters:
cell -
piece -
sym -

0.7

2009 Alx Dark