* Creates a blank ruleset for a certain * type of armor. * @param type String defining the type. */
| 27 | * @param type String defining the type. |
| 28 | */ |
| 29 | Armor::Armor(const std::string &type) : _type(type), _spriteSheet(""), _spriteInv(""), _corpseGeo(""), _storeItem(""), _corpseBattle(), _frontArmor(0), _sideArmor(0), _rearArmor(0), _underArmor(0), _drawingRoutine(0), _movementType(MT_WALK), _size(1), _weight(0) |
| 30 | { |
| 31 | for (int i=0; i < DAMAGE_TYPES; i++) |
| 32 | _damageModifier[i] = 1.0f; |
| 33 | } |
| 34 | |
| 35 | /** |
| 36 | * |
nothing calls this directly
no outgoing calls
no test coverage detected