#include <world.h>
Collaboration diagram for tile:
Public Member Functions | |
tile () | |
tile (float cost, energy e) | |
~tile () | |
float | getCost () |
Protected Attributes | |
entity * | m_pEntity |
the entity currently in the tile | |
float | m_cost |
the height of the tile | |
energy | m_energy |
the tile's energy pool |
Definition at line 48 of file world.h.
|
|
|
|
|
|
|
Definition at line 60 of file world.h. References m_cost. |
|
the height of the tile
Definition at line 66 of file world.h. Referenced by getCost(), world::moveEntity(), tile(), and world::transferMemory(). |
|
the tile's energy pool
Definition at line 68 of file world.h. Referenced by world::absorbEnergy(), world::kill(), tile(), and world::transferEnergy(). |
|
the entity currently in the tile
Definition at line 64 of file world.h. Referenced by world::giveMemory(), world::kill(), world::moveEntity(), world::takeMemory(), tile(), and world::transferEnergy(). |