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

#include <Pathing.hpp>

Public Member Functions

 Pathing_Local ()
 
 ~Pathing_Local ()
 
void init (World_Local *_map)
 
bool pathLocal (int _startX, int _startY, int _endX, int _endY, int _pathSize=50, bool pathAway=false)
 
bool appendSimplePath ()
 
void expandLocal (int _x, int _y)
 
void expandLocal (Node *pNode)
 
bool expandBest (bool pathAway)
 
void getPath (bool pathAway)
 
void printPath ()
 

Public Attributes

Vector< char > vPath
 

Constructor & Destructor Documentation

◆ Pathing_Local()

Pathing_Local::Pathing_Local ( )

◆ ~Pathing_Local()

Pathing_Local::~Pathing_Local ( )

Member Function Documentation

◆ appendSimplePath()

bool Pathing_Local::appendSimplePath ( )

◆ expandBest()

bool Pathing_Local::expandBest ( bool  pathAway)

◆ expandLocal() [1/2]

void Pathing_Local::expandLocal ( int  _x,
int  _y 
)

◆ expandLocal() [2/2]

void Pathing_Local::expandLocal ( Node *  pNode)

◆ getPath()

void Pathing_Local::getPath ( bool  pathAway)

◆ init()

void Pathing_Local::init ( World_Local _map)

◆ pathLocal()

bool Pathing_Local::pathLocal ( int  _startX,
int  _startY,
int  _endX,
int  _endY,
int  _pathSize = 50,
bool  pathAway = false 
)

◆ printPath()

void Pathing_Local::printPath ( )

Member Data Documentation

◆ vPath

Vector<char> Pathing_Local::vPath

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