Emergency 20 Dokumentation  4.2.0
UnitPool.h File Reference
#include "em5/game/units/Department.h"
#include "em5/application/VersionSwitch.h"
#include <qsf/reflection/object/Object.h>
#include <qsf/base/NamedIdentifier.h>
#include <vector>
#include <unordered_map>

Go to the source code of this file.


class  em5::UnitPool
 Keeps track of ordered units from the player and manages the ordering process for new units Spawning units has to register as spawning. Then they are blocked for other processes. An vehicle can only spawn personnel if the personnel is available. In case the unit died, we block the person. The resetting process takes place at every ingame day. More...