Skip to content
Snippets Groups Projects
Commit 6c468982 authored by mcmlxxix's avatar mcmlxxix
Browse files

update documentation to better explain timer.addEvent() usage

parent 4397df63
Branches
Tags
No related merge requests found
......@@ -6,7 +6,13 @@
methods:
- Timer.cycle()
- Timer.addEvent()
- Timer.addEvent(interval,repeat,action,arguments,context)
- interval = time to wait before running event (in milliseconds)
- repeat = how many times to run the event (TRUE = run infinitely, FALSE = run once)
- action = the function to call when running the event
- arguments = the arguments to pass to the action
- context = the context (scope) in which to run the event
sample usage:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment