Steam Fort 0.5
Public Member Functions | Public Attributes

Building Class Reference

Contains all information about building. More...

#include <building.hpp>

List of all members.

Public Member Functions

 Building ()
 Standard class constructor.

Public Attributes

std::string name
 Building name.
int type
 Building type.
int width
 Building width.
int height
 Building height.
int enter [2]
 Coordinates of building enter.
std::string mname
 Name of material used to construct building.
int material
 Type of material used to construct building.
int mamount
 Amounf of materials used to construct building.
int buildtime
 Time (in seconds) needed to construct building.
int x
 X-axis position of left upper corner of building.
int y
 Y-axis position of left upper corner of building.
bool constructed
 If true, building is constructed (working)
std::string workname
 Order name added by this building.
int data
 Additional building data (for example: storehouse capacity)
char underconstruction
 If 'Y' building is under construction, otherwise 'N'.
TCODList< int > chars
 Characters used to draw a building.
TCODList< TCODColor > colors
 Colors of characters used to draw a building.
TCODList< int > neededitems
 Items which are needed on map for construct this building.
bool unique
 Did building can be build only once.
int taken
 Did building is taken by someone.
std::string description
 Description of building.

Detailed Description

Contains all information about building.


Constructor & Destructor Documentation

Building::Building ( )

Standard class constructor.

Fill some default values.


Member Data Documentation

Time (in seconds) needed to construct building.

TCODList<int> Building::chars

Characters used to draw a building.

TCODList<TCODColor> Building::colors

Colors of characters used to draw a building.

If true, building is constructed (working)

Additional building data (for example: storehouse capacity)

std::string Building::description

Description of building.

Coordinates of building enter.

Building height.

Amounf of materials used to construct building.

Type of material used to construct building.

std::string Building::mname

Name of material used to construct building.

std::string Building::name

Building name.

TCODList<int> Building::neededitems

Items which are needed on map for construct this building.

Did building is taken by someone.

Building type.

If 'Y' building is under construction, otherwise 'N'.

Did building can be build only once.

Building width.

std::string Building::workname

Order name added by this building.

X-axis position of left upper corner of building.

Y-axis position of left upper corner of building.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines