#include <Tile.h>
Inheritance diagram for Game::AbstractTile:


Public Methods | |
| virtual bool | isPassable () const=0 |
| virtual void | hitWithExplosion () |
| virtual MovementEffect | AbstractTile::effect (MoveableItem &item) |
| virtual AbstractTile * | dynCopy () const=0 |
Definition at line 56 of file Tile.h.
|
|
|
|
|
|
|
|
Allows tile to effect a MoveableItem. It can change the state (ie allow changing the state of the MoveableItem. It's up to the reciever of the call to actually make the change. The default effect, even when performed, does not change anything.
|
|
|
|
|
|
Allocates a copy of the object via new. The caller is responsible for deletion Reimplemented in Game::IndestructibleTile, Game::PassableTile, Game::ExplodableTile, Game::ConveyorTile, and Game::SlipperyTile. |
|
|
Alerts the tile that it has been hit by a bomb Reimplemented in Game::ExplodableTile. |
|
|
|
|
|
Returning true implies that both flames from bombs can continue to go through the tile and that players can walk through the tile Reimplemented in Game::IndestructibleTile, Game::PassableTile, Game::ExplodableTile, Game::ConveyorTile, and Game::SlipperyTile. |
|
|
|
1.2.12 written by Dimitri van Heesch,
© 1997-2001