PlayPath struct
Path the player took in a play-test, for the editor to show.
Public types
Public static variables
-
static std::
int32_t MaxPoints constexpr - Most points kept, the oldest are dropped.
Public functions
- void Clear()
- Clears the path.
-
auto GetPointCount() const -> std::
int32_t - Returns the number of points of all segments.
-
auto GetDeathCount() const -> std::
int32_t - Returns how many times the player died.
- auto HasExited() const -> bool
- Returns
trueif the level was left by its exit. - void Record(Vector2f pos, float speed, float timeMult)
- Adds where a player is now, called every frame.
- void BreakSegment(Break reason)
- Ends the segment being recorded.