Steam Fort 0.5
Public Member Functions | Public Attributes

Recipe Class Reference

Contains all information about recipe. More...

#include <recipe.hpp>

List of all members.

Public Member Functions

 Recipe ()
 Standard class constructor.

Public Attributes

std::string name
 Recipe name - must be that same like produced item.
int resources [RESOURCES][3]
 Resources needed for this recipe.
int fuel
 Amount of fuel needed by recipe.
int amount
 Amount of produced items.
int worktime
 Time needed for made selected item.
int building
 Building type in which work will be do.
bool known
 Did recipe is known.
int unlocktype [2]
 What will be unlocked after finishing this recipe.
std::string unlockname
 Name of recipe to unlock (if other than this name recipe)
std::string materials
 String information about needed materials.

Detailed Description

Contains all information about recipe.


Constructor & Destructor Documentation

Recipe::Recipe ( )

Standard class constructor.


Member Data Documentation

Amount of produced items.

Building type in which work will be do.

Amount of fuel needed by recipe.

Did recipe is known.

std::string Recipe::materials

String information about needed materials.

std::string Recipe::name

Recipe name - must be that same like produced item.

int Recipe::resources[RESOURCES][3]

Resources needed for this recipe.

std::string Recipe::unlockname

Name of recipe to unlock (if other than this name recipe)

What will be unlocked after finishing this recipe.

Time needed for made selected item.


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