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

Method Base

src/Savegame/Base.cpp:54–57  ·  view source on GitHub ↗

* Initializes an empty base. * @param rule Pointer to ruleset. */

Source from the content-addressed store, hash-verified

52 * @param rule Pointer to ruleset.
53 */
54Base::Base(const Ruleset *rule) : Target(), _rule(rule), _name(L""), _scientists(0), _engineers(0), _inBattlescape(false), _retaliationTarget(false)
55{
56 _items = new ItemContainer();
57}
58
59/**
60 * Deletes the contents of the base from memory.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected