WorldSim  inDev
2D tile-based sandbox RPG with procedurally generated fantasy world simulator 🌏
Public Member Functions | Public Attributes | List of all members
Static_Tree Class Reference

#include <Static_Flora.hpp>

Inheritance diagram for Static_Tree:
Inheritance graph
[legend]
Collaboration diagram for Static_Tree:
Collaboration graph
[legend]

Public Member Functions

 Static_Tree (int _growth=100)
 
Texture * currentTexture () override
 
- Public Member Functions inherited from Flora
 Flora (const std::string _name="Flora", const unsigned short int _spawnWeight=1)
 
void increment (unsigned short int)
 
void setFoodValues (unsigned char, unsigned char, unsigned char)
 
void allowBiome (unsigned char)
 
std::string getColour ()
 
std::string getName () override
 
std::string getColumn (std::string _column) override
 
std::string getColumnType (std::string _column) override
 
- Public Member Functions inherited from Static
 Static ()
 
virtual void interact (WorldObject *obj, int interactionType=0)
 

Public Attributes

int chopAmount
 
int growth
 
- Public Attributes inherited from Flora
Ingredientingredient
 
World_Biomebiome
 
unsigned short int spawnWeight
 
ColourRGB< unsigned char > colour
 
- Public Attributes inherited from Static
std::string name
 
unsigned char blockMove
 
unsigned char blockLOS
 
unsigned char id
 

Constructor & Destructor Documentation

◆ Static_Tree()

Static_Tree::Static_Tree ( int  _growth = 100)
inline

Member Function Documentation

◆ currentTexture()

Texture* Static_Tree::currentTexture ( )
inlineoverridevirtual

Reimplemented from Flora.

Member Data Documentation

◆ chopAmount

int Static_Tree::chopAmount

◆ growth

int Static_Tree::growth

The documentation for this class was generated from the following file: