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

Method MapBlock

src/Ruleset/MapBlock.cpp:27–29  ·  view source on GitHub ↗

* MapBlock construction. */

Source from the content-addressed store, hash-verified

25 * MapBlock construction.
26 */
27MapBlock::MapBlock(std::string name, int size_x, int size_y, MapBlockType type):_name(name), _size_x(size_x), _size_y(size_y), _size_z(0), _type(type), _subType(MT_UNDEFINED), _frequency(1), _timesUsed(0), _maxCount(-1)
28{
29}
30
31/**
32 * MapBlock desctruction.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected