Steam Fort 0.5
Public Member Functions | Public Attributes

Order Class Reference

Contains all informations and functions about orders. More...

#include <order.hpp>

List of all members.

Public Member Functions

 Order ()
 Standard class constructor.

Public Attributes

std::string name
 Name of order.
bool infinite
 Did order can be repeated.
char active
 If Y then order is active, otherwise 'N'.
std::vector< int > workers
 List of mobiles assigned to order.
int stages [STEPS][STEPLENGTH]
 Stages of order.
int curamount
 Amount of things needed for finish current state.
bool automatic
 If true, player is automatically added to workers list.
bool enabled
 If true, orders is available.
int type
 Type of order.
int curstage
 Current stage of order.
bool playeronly
 Only player can be assigned to this order.
int times
 How many times order will be repeated.

Detailed Description

Contains all informations and functions about orders.


Constructor & Destructor Documentation

Order::Order ( )

Standard class constructor.

Create order and fill some default variables.


Member Data Documentation

If Y then order is active, otherwise 'N'.

If true, player is automatically added to workers list.

Amount of things needed for finish current state.

Current stage of order.

If true, orders is available.

Did order can be repeated.

std::string Order::name

Name of order.

Only player can be assigned to this order.

int Order::stages[STEPS][STEPLENGTH]

Stages of order.

How many times order will be repeated.

Type of order.

std::vector<int> Order::workers

List of mobiles assigned to order.


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