Timer
#include "Scripting/Timer.h"
Public Functions
Name | |
---|---|
Timer() =default | |
Timer(double intervalSeconds, sol::protected_function callback, bool oneShot =false) | |
void | tick(double dt) |
Friends
Name | |
---|---|
class | Chronos |
Public Functions Documentation
function Timer
cpp
Timer() =default
Timer() =default
function Timer
cpp
inline Timer(
double intervalSeconds,
sol::protected_function callback,
bool oneShot =false
)
inline Timer(
double intervalSeconds,
sol::protected_function callback,
bool oneShot =false
)
function tick
cpp
inline void tick(
double dt
)
inline void tick(
double dt
)
Parameters:
- dt in seconds
Friends
friend Chronos
cpp
friend class Chronos(
Chronos
);
friend class Chronos(
Chronos
);
Updated on 2025-01-07 at 13:40:43 +0000