Base class for graphs.
More...
#include <framework/path.h>
Base class for graphs.
Sequence of line segments.
This class is used as a base for Navmesh and Path.
- See also
- https://racenis.github.io/tram-sdk/documentation/framework/graph.html
Can be used to push an object along a path, can be used as a rail, or as a path for guiding agents.
- See also
- https://racenis.github.io/tram-sdk/documentation/framework/path.html
◆ Path()
tram::Path::Path |
( |
name_t |
name | ) |
|
|
inline |
◆ ~Path()
◆ Draw()
void tram::Path::Draw |
( |
| ) |
|
Draws the path's line segments.
◆ Find()
Finds a path.
Finds a path by its name, or creates a new path by that name if not found.
- Returns
- Always returns a pointer to a Path.
◆ LoadFromDisk()
void tram::Path::LoadFromDisk |
( |
| ) |
|
◆ PathFollower
◆ edge_infos
◆ name
The documentation for this class was generated from the following files:
- C:/Users/Poga/Desktop/painis/tram-sdk/src/framework/path.h
- C:/Users/Poga/Desktop/painis/tram-sdk/src/framework/path.cpp