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

#include <WorldObjectGlobal_TribalArtifact.hpp>

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

Public Member Functions

 TribalArtifact ()
 
 ~TribalArtifact ()
 
Texture * currentTexture ()
 
std::string getColumn (std::string _column)
 
std::string getColumnType (std::string _column)
 
- Public Member Functions inherited from WorldObjectGlobal
 WorldObjectGlobal ()
 
virtual std::string getName ()
 
virtual std::string getExtendedInfo ()
 
int distanceTo (WorldObjectGlobal *_obj)
 
bool isOnMap (int _x, int _y)
 
virtual ~WorldObjectGlobal ()
 

Public Attributes

Worldworld
 
TribeownerTribe
 
- Public Attributes inherited from WorldObjectGlobal
int worldX
 
int worldY
 
Worldworld
 
std::string name
 
std::string nameType
 
int type
 

Additional Inherited Members

- Public Types inherited from WorldObjectGlobal
enum  enumType {
  NOTYPE =0, URBAN =1, ARMY =2, FLEET =3,
  NOMADIC_TRIBE =4, TRIBAL_ARTIFACT =5
}
 

Constructor & Destructor Documentation

◆ TribalArtifact()

TribalArtifact::TribalArtifact ( )

◆ ~TribalArtifact()

TribalArtifact::~TribalArtifact ( )

Member Function Documentation

◆ currentTexture()

Texture * TribalArtifact::currentTexture ( )

◆ getColumn()

std::string TribalArtifact::getColumn ( std::string  _column)

◆ getColumnType()

std::string TribalArtifact::getColumnType ( std::string  _column)

Member Data Documentation

◆ ownerTribe

Tribe* TribalArtifact::ownerTribe

◆ world

World* TribalArtifact::world

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