* Creates a blank ruleset for a certain * type of craft. * @param type String defining the type. */
| 28 | * @param type String defining the type. |
| 29 | */ |
| 30 | RuleCraft::RuleCraft(const std::string &type) : |
| 31 | _type(type), _sprite(-1), _fuelMax(0), _damageMax(0), _speedMax(0), _accel(0), |
| 32 | _weapons(0), _soldiers(0), _vehicles(0), _costBuy(0), _costRent(0), _costSell(0), |
| 33 | _refuelItem(""), _repairRate(1), _refuelRate(1), _radarRange(600), _transferTime(0), |
| 34 | _score(0), _battlescapeTerrainData(0), _spacecraft(false), _listOrder(0) |
| 35 | { |
| 36 | |
| 37 | } |
| 38 | |
| 39 | /** |
| 40 | * |
nothing calls this directly
no outgoing calls
no test coverage detected