Steam Fort 0.5
|
Contains all information about building. More...
#include <building.hpp>
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. |
Contains all information about building.
Building::Building | ( | ) |
Standard class constructor.
Fill some default values.
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)
int Building::data |
Additional building data (for example: storehouse capacity)
std::string Building::description |
Description of building.
int Building::enter[2] |
Coordinates of building enter.
int Building::height |
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.
int Building::taken |
Did building is taken by someone.
int Building::type |
Building type.
If 'Y' building is under construction, otherwise 'N'.
bool Building::unique |
Did building can be build only once.
int Building::width |
Building width.
std::string Building::workname |
Order name added by this building.
int Building::x |
X-axis position of left upper corner of building.
int Building::y |
Y-axis position of left upper corner of building.