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

#include <Character_Knowledge.hpp>

Collaboration diagram for Character_Knowledge:
Collaboration graph
[legend]

Public Member Functions

 Character_Knowledge ()
 
void init ()
 
void addTile (World_Local *, int, int, bool isSubterranean=false)
 
void addTile (unsigned long int, unsigned long int, bool isSubterranean=false)
 
char hasSeen (World_Local *, int, int, bool isSubterranean=false)
 
void updateLOS ()
 

Public Attributes

Pathing_Local p
 
Vector< World_Local * > vMapsVisited
 
Vector< ArrayS2< char > *> vaTileVisited
 
Vector< World_Local * > vSubMapsVisited
 
Vector< ArrayS2< char > *> vaSubTileVisited
 
Vector< char > vPath
 
HasXY currentGoal
 

Constructor & Destructor Documentation

◆ Character_Knowledge()

Character_Knowledge::Character_Knowledge ( )

Member Function Documentation

◆ addTile() [1/2]

void Character_Knowledge::addTile ( World_Local _map,
int  _x,
int  _y,
bool  isSubterranean = false 
)

◆ addTile() [2/2]

void Character_Knowledge::addTile ( unsigned long int  _x,
unsigned long int  _y,
bool  isSubterranean = false 
)

◆ hasSeen()

char Character_Knowledge::hasSeen ( World_Local _map,
int  _x,
int  _y,
bool  isSubterranean = false 
)

◆ init()

void Character_Knowledge::init ( )

◆ updateLOS()

void Character_Knowledge::updateLOS ( )

Member Data Documentation

◆ currentGoal

HasXY Character_Knowledge::currentGoal

◆ p

Pathing_Local Character_Knowledge::p

◆ vaSubTileVisited

Vector< ArrayS2 <char>* > Character_Knowledge::vaSubTileVisited

◆ vaTileVisited

Vector< ArrayS2 <char>* > Character_Knowledge::vaTileVisited

◆ vMapsVisited

Vector<World_Local*> Character_Knowledge::vMapsVisited

◆ vPath

Vector<char> Character_Knowledge::vPath

◆ vSubMapsVisited

Vector<World_Local*> Character_Knowledge::vSubMapsVisited

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