PathBerserker2d  1.0
Platformer pathfinding solution
Public Member Functions | Public Attributes | Properties | List of all members
PathBerserker2d.Path Class Reference

A path ready to be traversed More...

Public Member Functions

void NextSubGoal ()
 Advanced the path by 1 segment. More...
 
override string ToString ()
 

Public Attributes

Vector2 Goal => lastSeg.LinkStart
 
readonly float totalCosts
 

Properties

PathSegment CurrentSegment [get]
 
PathSegment NextSegment [get]
 
bool HasNext [get]
 

Detailed Description

A path ready to be traversed

Member Function Documentation

◆ NextSubGoal()

void PathBerserker2d.Path.NextSubGoal ( )

Advanced the path by 1 segment.


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