|
supertux
|
Helper class that stores an individual node of a Path. More...
#include <path.hpp>
Public Member Functions | |
| Node (Path *parent_) | |
| Path & | get_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.) | |
Helper class that stores an individual node of a Path.
1.8.13