-
Notifications
You must be signed in to change notification settings - Fork 1
DeltaEvent
Hyomoto edited this page Jun 13, 2021
·
5 revisions
Jump To | Go Back |
Arguments | Methods | Variables |
---|
Implements: FrameEvent
Creates a new event that relies on frame timing, and will run at the given periodicity during the specified event. The FAST.events are:
event = new DeltaEvent( FAST.STEP, 1, function() {
show_debug_message( "Hello World!" );
});
Output: Hello World! is written to the console every one seconds.
Name | Type | Purpose |
---|---|---|
FAST.event | [list](list) |
The event to add this to |
delay | int |
How many seconds before firing |
function | [func](func) |
The function to call when the delay has passed |
Jump To | top |
update |
---|
Name | Type | Purpose |
---|---|---|
None |
Called to update the event.
Jump To | top |
---|
Name | Type | Initial | Purpose |
---|---|---|---|
__Tock | int |
1000000 | What tick this event should fire on |
Devon Mullane 2020