* Creates a certain type of unit. * @param type String defining the type. */
| 26 | * @param type String defining the type. |
| 27 | */ |
| 28 | Unit::Unit(const std::string &type) : _type(type), _race(""), _rank(""), _armor(""), _standHeight(0), _kneelHeight(0), _floatHeight(0), |
| 29 | _value(0), _deathSound(0), _aggroSound(-1), _moveSound(-1), _intelligence(0), _aggression(0), _energyRecovery(30), _specab(SPECAB_NONE), |
| 30 | _spawnUnit(""), _livingWeapon(false) |
| 31 | { |
| 32 | } |
| 33 | |
| 34 | /** |
| 35 | * |
nothing calls this directly
no outgoing calls
no test coverage detected