FIFE
be64c707dea6b3250bd4355bf5c825d25920087d
|
Public Member Functions | |
ZoneCellChangeListener (CellCache *cache) | |
virtual | ~ZoneCellChangeListener () |
virtual void | onInstanceEnteredCell (Cell *cell, Instance *instance) |
Called when some instance entered the cell. More... | |
virtual void | onInstanceExitedCell (Cell *cell, Instance *instance) |
Called when some instance exited the cell. More... | |
virtual void | onBlockingChangedCell (Cell *cell, CellTypeInfo type, bool blocks) |
Called when some instance changed its blocking property. More... | |
Public Member Functions inherited from FIFE::CellChangeListener | |
virtual | ~CellChangeListener () |
Private Attributes | |
CellCache * | m_cache |
Definition at line 329 of file cellcache.cpp.
|
inline |
Definition at line 331 of file cellcache.cpp.
|
inlinevirtual |
Definition at line 334 of file cellcache.cpp.
|
inlinevirtual |
Called when some instance changed its blocking property.
cell | where exit occurred. |
type | blocking type |
blocks | true if the CellType indicates the cell as a blocker, otherwise false. |
Implements FIFE::CellChangeListener.
Definition at line 345 of file cellcache.cpp.
References FIFE::Cell::getNeighbors(), FIFE::Cell::getZone(), and FIFE::Cell::setZoneProtected().
|
inlinevirtual |
Called when some instance entered the cell.
cell | where enter occurred. |
instance | which enter the cell. |
Implements FIFE::CellChangeListener.
Definition at line 337 of file cellcache.cpp.
|
inlinevirtual |
Called when some instance exited the cell.
cell | where exit occurred. |
instance | which exit the cell. |
Implements FIFE::CellChangeListener.
Definition at line 341 of file cellcache.cpp.
|
private |
Definition at line 368 of file cellcache.cpp.