supertux
Public Member Functions | Public Attributes | List of all members
Path::Node Class Reference

Helper class that stores an individual node of a Path. More...

#include <path.hpp>

Public Member Functions

 Node (Path *parent_)
 
Pathget_parent () const
 

Public Attributes

Vector position
 the position of this node
 
Vector bezier_before
 the position of the bezier handle towards the preceding node
 
Vector bezier_after
 the position of the bezier handle towards the following node
 
float time
 time (in seconds) to get from this node to next node
 
float speed
 speed (in px/seconds); editor use only
 
EasingMode easing
 speed variations during travel (constant speed, start slow and go progressively quicker, etc.)
 

Detailed Description

Helper class that stores an individual node of a Path.


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