Skip to content

Chronos

#include "Scripting/Timer.h"

Public Functions

Name
voidclearTimer(Ptr< Timer > timer)
Ptr< Timer >setTimer(uint64_t intervalMs, sol::protected_function callback)
voidupdate(double deltaSeconds)

Public Functions Documentation

function clearTimer

cpp
inline void clearTimer(
    Ptr< Timer > timer
)
inline void clearTimer(
    Ptr< Timer > timer
)

function setTimer

cpp
inline Ptr< Timer > setTimer(
    uint64_t intervalMs,
    sol::protected_function callback
)
inline Ptr< Timer > setTimer(
    uint64_t intervalMs,
    sol::protected_function callback
)

function update

cpp
inline void update(
    double deltaSeconds
)
inline void update(
    double deltaSeconds
)

Updated on 2024-11-06 at 20:16:53 +0000