public interface BoardGameObserver<LOCATION>
|Modifier and Type||Method and Description|
the update method for pieces moved from location 'from' to location 'to'.
the update method for props changed.
from- the LOCATION that a piece has moved from
to- the LOCATION that a piece has moved to
void propChangeEvent(java.lang.String keyOfChangedProp)
keyOfChangedProp- a string key identifying the game domain object that has changed. This key must be identical to that assigned in the FigureFactory's
From the book: Flexible, Reliable Software, © CRC Press 2010. Author: Henrik B. Christensen, Aarhus University, Denmark