MCPcopy Create free account
hub / github.com/SimHacker/micropolis / BuildingProperties

Class BuildingProperties

MicropolisCore/src/MicropolisEngine/src/tool.h:223–241  ·  view source on GitHub ↗

Properties of a building with respect to its construction. */

Source from the content-addressed store, hash-verified

221
222/** Properties of a building with respect to its construction. */
223class BuildingProperties
224{
225public:
226 BuildingProperties(int xs, int ys, MapTile base, EditingTool tool,
227 const char *tName, bool anim);
228 ~BuildingProperties();
229
230 const int sizeX; ///< Number of tiles in horizontal direction.
231 const int sizeY; ///< Number of tiles in vertical direction.
232
233 const MapTile baseTile; ///< Tile value at top-left in the map.
234
235 const EditingTool tool; ///< Tool needed for making the building.
236
237 /** Name of the tool needed for making the building. */
238 const char *toolName;
239
240 const bool buildingIsAnimated; ///< Building has animated tiles.
241};
242
243////////////////////////////////////////////////////////////////////////
244

Callers 1

tool.cppFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected