#include <buildings.h>
| Public Member Functions | |
| MineralPatch (int id) | |
| void | addMineral (Minerals *m) | 
| Minerals * | getNextMineral (Minerals *m) | 
| int | getID () | 
| void | addMineral (Minerals *m) | 
| Minerals * | getNextMineral (Minerals *m) | 
| void | addMineral (Minerals *m) | 
| Minerals * | getNextMineral (Minerals *m) | 
| void | addMineral (Minerals *m) | 
| Minerals * | getNextMineral (Minerals *m) | 
| void | addMineral (Minerals *m) | 
| Minerals * | getNextMineral (Minerals *m) | 
| Private Attributes | |
| std::vector< Minerals * > | minerals | 
| int | patchID | 
| std::vector< Minerals * > | minerals | 
| std::vector< Minerals * > | minerals | 
| std::vector< Minerals * > | minerals | 
| std::vector< Minerals * > | minerals | 
Definition at line 264 of file buildings.h.
| FastEcslent::MineralPatch::MineralPatch | ( | int | id | ) |  [inline] | 
Definition at line 269 of file buildings.h.
| void FastEcslent::MineralPatch::addMineral | ( | Minerals * | m | ) |  [inline] | 
Add mineral to a this patch
| m | the minerals to add | 
Definition at line 274 of file buildings.h.
References minerals.
Referenced by FastEcslent::GameMgr::createMineralPatch(), and FastEcslent::GameMgr::initMineralPatch().
| FastEcslent::Minerals * FastEcslent::MineralPatch::getNextMineral | ( | Minerals * | m | ) | 
Get another optimal mineral within the same patch
Definition at line 86 of file buildings.cpp.
References minerals, FastEcslent::Minerals::miners, and FastEcslent::Entity::pos.
Referenced by FastEcslent::Gather::moveToEntityTick().
| int FastEcslent::MineralPatch::getID | ( | ) |  [inline] | 
Get ID of this mineral patch
Definition at line 286 of file buildings.h.
References patchID.
Referenced by FastEcslent::GameMgr::createMineralPatch().
| void FastEcslent::MineralPatch::addMineral | ( | Minerals * | m | ) |  [inline] | 
Add mineral to a this patch
| m | the minerals to add | 
Definition at line 254 of file buildings.h.
References minerals.
Get another optimal mineral within the same patch
| void FastEcslent::MineralPatch::addMineral | ( | Minerals * | m | ) |  [inline] | 
Add mineral to a this patch
| m | the minerals to add | 
Definition at line 254 of file buildings.h.
References minerals.
Get another optimal mineral within the same patch
| void FastEcslent::MineralPatch::addMineral | ( | Minerals * | m | ) |  [inline] | 
Add mineral to a this patch
| m | the minerals to add | 
Definition at line 254 of file buildings.h.
References minerals.
Get another optimal mineral within the same patch
| void FastEcslent::MineralPatch::addMineral | ( | Minerals * | m | ) |  [inline] | 
Add mineral to a this patch
| m | the minerals to add | 
Definition at line 254 of file buildings.h.
References minerals.
Get another optimal mineral within the same patch
| std::vector<Minerals*> FastEcslent::MineralPatch::minerals  [private] | 
| int FastEcslent::MineralPatch::patchID  [private] | 
| std::vector<Minerals*> FastEcslent::MineralPatch::minerals  [private] | 
Definition at line 248 of file buildings.h.
| std::vector<Minerals*> FastEcslent::MineralPatch::minerals  [private] | 
Definition at line 248 of file buildings.h.
| std::vector<Minerals*> FastEcslent::MineralPatch::minerals  [private] | 
Definition at line 248 of file buildings.h.
| std::vector<Minerals*> FastEcslent::MineralPatch::minerals  [private] | 
Definition at line 248 of file buildings.h.
 1.5.4
 1.5.4