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

Method setSpecialType

src/Ruleset/MapData.cpp:256–260  ·  view source on GitHub ↗

* Sets a special tile type and object type. * @param value Special tile type. * @param otype Object type. */

Source from the content-addressed store, hash-verified

254 * @param otype Object type.
255 */
256void MapData::setSpecialType(int value, int otype)
257{
258 _specialType = (SpecialTileType)value;
259 _objectType = otype;
260}
261
262/**
263 * Gets the TU cost to walk over the object.

Callers 3

runInventoryMethod · 0.80
modifyDataMethod · 0.80
loadDataMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected