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

#include <World_Landmass.hpp>

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

Public Member Functions

 World_Landmass ()
 
virtual ~World_Landmass ()
 
std::string getColumn (std::string _column)
 
std::string getColumnType (std::string _column)
 
void getAverageCoordinates (Vector< HasXY *> *vXY)
 

Public Attributes

std::string name
 
int size
 
double averageX
 
double averageY
 
int centerX
 
int centerY
 

Constructor & Destructor Documentation

◆ World_Landmass()

World_Landmass::World_Landmass ( )
inline

◆ ~World_Landmass()

virtual World_Landmass::~World_Landmass ( )
inlinevirtual

Member Function Documentation

◆ getAverageCoordinates()

void World_Landmass::getAverageCoordinates ( Vector< HasXY *> *  vXY)
inline

◆ getColumn()

std::string World_Landmass::getColumn ( std::string  _column)
inline

◆ getColumnType()

std::string World_Landmass::getColumnType ( std::string  _column)
inline

Member Data Documentation

◆ averageX

double World_Landmass::averageX

◆ averageY

double World_Landmass::averageY

◆ centerX

int World_Landmass::centerX

◆ centerY

int World_Landmass::centerY

◆ name

std::string World_Landmass::name

◆ size

int World_Landmass::size

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