us.asciiroth.client.ui
Class BoardView
java.lang.Object
us.asciiroth.client.ui.BoardView
- All Implemented Interfaces:
- CellListener
public class BoardView
- extends java.lang.Object
- implements CellListener
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BoardView
public BoardView(HasBoard hasBoard)
addMouseCellListener
public void addMouseCellListener(MouseCellListener listener)
getElementAt
public com.google.gwt.user.client.Element getElementAt(int mapX,
int mapY)
getHeight
public int getHeight()
onCellChanged
public void onCellChanged(Cell cell)
- Description copied from interface:
CellListener
- 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.
- Specified by:
onCellChanged
in interface CellListener
- Parameters:
cell
- the cell that has changed
onRerender
public void onRerender(Cell cell,
Piece piece,
Symbol symbol)
- Description copied from interface:
CellListener
- Event notification that a piece would like to rerender itself at the
given location. Used by animated piece.
- Specified by:
onRerender
in interface CellListener
© 2009 Alx Dark