MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / Vehicle

Method Vehicle

src/Savegame/Vehicle.cpp:31–33  ·  view source on GitHub ↗

* Initializes a vehicle of the specified type. * @param rules Pointer to ruleset. * @param ammo Initial ammo. * @param size Size in tiles. */

Source from the content-addressed store, hash-verified

29 * @param size Size in tiles.
30 */
31Vehicle::Vehicle(RuleItem *rules, int ammo, int size) : _rules(rules), _ammo(ammo), _size(size)
32{
33}
34
35/**
36 *

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected