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

#include <Creature_Species.hpp>

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

Public Member Functions

 Creature_Species (std::string _name, int _spawnWeight)
 
Creaturespawn ()
 
void setBaseTexture (Texture *_texture)
 
std::string getColumn (std::string _column) override
 
std::string getColumnType (std::string _column) override
 
Texture * currentTexture () override
 

Public Attributes

World_Biomebiome
 
std::string name
 
int spawnWeight
 
Texture * baseTexture
 

Constructor & Destructor Documentation

◆ Creature_Species()

Creature_Species::Creature_Species ( std::string  _name,
int  _spawnWeight 
)

Member Function Documentation

◆ currentTexture()

Texture * Creature_Species::currentTexture ( )
override

◆ getColumn()

std::string Creature_Species::getColumn ( std::string  _column)
override

◆ getColumnType()

std::string Creature_Species::getColumnType ( std::string  _column)
override

◆ setBaseTexture()

void Creature_Species::setBaseTexture ( Texture *  _texture)

◆ spawn()

Creature * Creature_Species::spawn ( )

Member Data Documentation

◆ baseTexture

Texture* Creature_Species::baseTexture

◆ biome

World_Biome* Creature_Species::biome

◆ name

std::string Creature_Species::name

◆ spawnWeight

int Creature_Species::spawnWeight

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