ALMaSS Rodenticide ODdox
1.1
The rodenticide model description following ODdox protocol
|
Used to map locations of animals in space. More...
#include <MovementMap.h>
Public Member Functions | |
TAnimal * | GetMapValue (unsigned a_x, unsigned a_y) |
void | SetMapValue (unsigned a_x, unsigned a_y, TAnimal *p) |
void | ClearMapValue (unsigned a_x, unsigned a_y) |
IDMapScaled (Landscape *L, int a_gridsize) | |
~IDMapScaled () | |
Public Member Functions inherited from IDMap< TAnimal * > | |
TAnimal * | GetMapValue (unsigned x, unsigned y) |
void | SetMapValue (unsigned x, unsigned y, TAnimal * p) |
void | ClearMapValue (unsigned x, unsigned y) |
IDMap (Landscape *L) | |
~IDMap () | |
Public Attributes | |
int | m_scale |
Public Attributes inherited from IDMap< TAnimal * > | |
vector< TAnimal * > | m_TheMap |
int | maxx |
int | maxy |
Used to map locations of animals in space.
|
inline |
On calling the a_x,a_y are in map coordinates not grid coords
References m_scale, IDMap< TAnimal * >::m_TheMap, and IDMap< TAnimal * >::maxx.
|
inline |
On calling the a_x,a_y are in map coordinates not grid coords
References m_scale, IDMap< TAnimal * >::m_TheMap, and IDMap< TAnimal * >::maxx.
|
inline |
On calling the a_x,a_y are in map coordinates not grid coords
References m_scale, IDMap< TAnimal * >::m_TheMap, and IDMap< TAnimal * >::maxx.
Referenced by IDMapScaled().
int IDMapScaled::m_scale |
Referenced by ClearMapValue(), GetMapValue(), IDMapScaled(), and SetMapValue().