Chronos
#include "Scripting/Timer.h"
Public Functions
Name | |
---|---|
void | clearTimer(Ptr< Timer > timer) |
void | clearTimers() |
Ptr< Timer > | setTimeout(double intervalSeconds, sol::protected_function callback) |
Ptr< Timer > | setTimer(double intervalSeconds, sol::protected_function callback) |
void | update(double deltaSeconds) |
Public Functions Documentation
function clearTimer
cpp
inline void clearTimer(
Ptr< Timer > timer
)
inline void clearTimer(
Ptr< Timer > timer
)
function clearTimers
cpp
inline void clearTimers()
inline void clearTimers()
function setTimeout
cpp
inline Ptr< Timer > setTimeout(
double intervalSeconds,
sol::protected_function callback
)
inline Ptr< Timer > setTimeout(
double intervalSeconds,
sol::protected_function callback
)
function setTimer
cpp
inline Ptr< Timer > setTimer(
double intervalSeconds,
sol::protected_function callback
)
inline Ptr< Timer > setTimer(
double intervalSeconds,
sol::protected_function callback
)
function update
cpp
inline void update(
double deltaSeconds
)
inline void update(
double deltaSeconds
)
Updated on 2025-01-07 at 13:40:43 +0000