Tramway SDK
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
tram::Navmesh Class Reference

#include <navmesh.h>

Public Member Functions

 Navmesh (name_t name)
 
 ~Navmesh ()=delete
 
name_t GetName ()
 
const std::vector< node_id_t > & GetNodes ()
 
void LoadFromDisk ()
 

Static Public Member Functions

static NavmeshNode GetNavmeshNode (node_id_t node_id)
 
static NavmeshFind (name_t name)
 

Protected Attributes

name_t name
 
std::vector< node_id_tnodes
 

Constructor & Destructor Documentation

◆ Navmesh()

tram::Navmesh::Navmesh ( name_t  name)
inline

◆ ~Navmesh()

tram::Navmesh::~Navmesh ( )
delete

Member Function Documentation

◆ Find()

Navmesh * tram::Navmesh::Find ( name_t  name)
static

◆ GetName()

name_t tram::Navmesh::GetName ( )
inline

◆ GetNavmeshNode()

NavmeshNode tram::Navmesh::GetNavmeshNode ( node_id_t  node_id)
static

◆ GetNodes()

const std::vector< node_id_t > & tram::Navmesh::GetNodes ( )
inline

◆ LoadFromDisk()

void tram::Navmesh::LoadFromDisk ( )

Member Data Documentation

◆ name

name_t tram::Navmesh::name
protected

◆ nodes

std::vector<node_id_t> tram::Navmesh::nodes
protected

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