Timer

Inherits: Node < Object

There is currently no description for this class. Please help us by contributing one!

Properties

bool

autostart

false

bool

one_shot

false

bool

paused

TimerProcessCallback

process_callback

1

float

time_left

float

wait_time

1.0

Methods

bool

is_stopped ( ) const

void

start ( float time_sec=-1 )

void

stop ( )


Signals

timeout ( )

There is currently no description for this signal. Please help us by contributing one!


Enumerations

enum TimerProcessCallback:

TimerProcessCallback TIMER_PROCESS_PHYSICS = 0

There is currently no description for this enum. Please help us by contributing one!

TimerProcessCallback TIMER_PROCESS_IDLE = 1

There is currently no description for this enum. Please help us by contributing one!


Property Descriptions

bool autostart = false

  • void set_autostart ( bool value )

  • bool has_autostart ( )

There is currently no description for this property. Please help us by contributing one!


bool one_shot = false

  • void set_one_shot ( bool value )

  • bool is_one_shot ( )

There is currently no description for this property. Please help us by contributing one!


bool paused

  • void set_paused ( bool value )

  • bool is_paused ( )

There is currently no description for this property. Please help us by contributing one!


TimerProcessCallback process_callback = 1

There is currently no description for this property. Please help us by contributing one!


float time_left

  • float get_time_left ( )

There is currently no description for this property. Please help us by contributing one!


float wait_time = 1.0

  • void set_wait_time ( float value )

  • float get_wait_time ( )

There is currently no description for this property. Please help us by contributing one!


Method Descriptions

bool is_stopped ( ) const

There is currently no description for this method. Please help us by contributing one!


void start ( float time_sec=-1 )

There is currently no description for this method. Please help us by contributing one!


void stop ( )

There is currently no description for this method. Please help us by contributing one!