#include <PartitionManager.h>
Inherits Snapshot.
The world's terrain is partitioned into a large grid of Partition Cells. The Cell is the fundamental unit of space in the Partition Manager.
Definition at line 296 of file PartitionManager.h.
| PartitionCell::PartitionCell | ( | ) |
Definition at line 1223 of file PartitionManager.cpp.
| PartitionCell::~PartitionCell | ( | ) |
Definition at line 1256 of file PartitionManager.cpp.
| void PartitionCell::addCashValue | ( | Int | playerIndex, |
| UnsignedInt | cashValue ) |
Definition at line 1437 of file PartitionManager.cpp.
| void PartitionCell::addLooker | ( | Int | playerIndex | ) |
Definition at line 1272 of file PartitionManager.cpp.
| void PartitionCell::addShrouder | ( | Int | playerIndex | ) |
Definition at line 1339 of file PartitionManager.cpp.
| void PartitionCell::addThreatValue | ( | Int | playerIndex, |
| UnsignedInt | threatValue ) |
Definition at line 1404 of file PartitionManager.cpp.
|
virtual |
| void PartitionCell::friend_addToCellList | ( | CellAndObjectIntersection * | coi | ) |
Definition at line 1461 of file PartitionManager.cpp.
| void PartitionCell::friend_removeFromCellList | ( | CellAndObjectIntersection * | coi | ) |
Definition at line 1471 of file PartitionManager.cpp.
| UnsignedInt PartitionCell::getCashValue | ( | Int | playerIndex | ) |
Definition at line 1428 of file PartitionManager.cpp.
Definition at line 1481 of file PartitionManager.cpp.
|
inline |
Definition at line 328 of file PartitionManager.h.
|
inline |
Definition at line 329 of file PartitionManager.h.
|
inline |
return number of COIs touching this cell.
Definition at line 327 of file PartitionManager.h.
|
inline |
Definition at line 355 of file PartitionManager.h.
|
inline |
Definition at line 350 of file PartitionManager.h.
|
inline |
Definition at line 349 of file PartitionManager.h.
| CellShroudStatus PartitionCell::getShroudStatusForPlayer | ( | Int | playerIndex | ) | const |
Definition at line 1382 of file PartitionManager.cpp.
| UnsignedInt PartitionCell::getThreatValue | ( | Int | playerIndex | ) |
Definition at line 1395 of file PartitionManager.cpp.
Definition at line 316 of file PartitionManager.h.
| void PartitionCell::invalidateShroudedStatusForAllCois | ( | Int | playerIndex | ) |
Definition at line 1263 of file PartitionManager.cpp.
|
virtual |
| void PartitionCell::removeCashValue | ( | Int | playerIndex, |
| UnsignedInt | cashValue ) |
Definition at line 1449 of file PartitionManager.cpp.
| void PartitionCell::removeLooker | ( | Int | playerIndex | ) |
Definition at line 1303 of file PartitionManager.cpp.
| void PartitionCell::removeShrouder | ( | Int | playerIndex | ) |
Definition at line 1366 of file PartitionManager.cpp.
| void PartitionCell::removeThreatValue | ( | Int | playerIndex, |
| UnsignedInt | threatValue ) |
Definition at line 1416 of file PartitionManager.cpp.
|
virtual |