Class PlaytestSpeed
- Namespace
- SurvivorsMaker.Presentation
- Assembly
- SurvivorsMaker.Presentation.dll
Game-speed steps for the playtest panel.
public static class PlaytestSpeed
- Inheritance
-
PlaytestSpeed
- Inherited Members
Methods
Clamp(float, float, float)
public static float Clamp(float value, float min, float max)
Parameters
Returns
Label(float)
"0.25×", "1×", "8×".
public static string Label(float speed)
Parameters
speedfloat
Returns
Step(float, float[], int)
The next step above (direction > 0) or below current in ascending
steps; stays at the ends.
public static float Step(float current, float[] steps, int direction)