|
Pyrogenesis
13997
|
Basic 2D array, intended for storing tile data, plus support for lazy updates by ICmpObstructionManager. More...
#include <ICmpPathfinder.h>
Public Member Functions | |
| Grid () | |
| Grid (u16 w, u16 h) | |
| Grid (const Grid &g) | |
| Grid & | operator= (const Grid &g) |
| ~Grid () | |
| void | reset () |
| void | set (int i, int j, const T &value) |
| T & | get (int i, int j) const |
Public Attributes | |
| u16 | m_W |
| u16 | m_H |
| T * | m_Data |
| size_t | m_DirtyID |
Basic 2D array, intended for storing tile data, plus support for lazy updates by ICmpObstructionManager.
T must be a POD type that can be initialised with 0s.
Definition at line 33 of file ICmpPathfinder.h.
1.8.5