Class ROT.Scheduler.Action
Extends
ROT.Scheduler.
Action-based scheduler
Defined in: <rot.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
Method Attributes | Method Name and Description |
---|---|
add(item, repeat, time)
|
|
clear()
|
|
next()
|
|
remove(item)
|
|
setDuration(time)
Set duration for the active item
|
- Methods borrowed from class ROT.Scheduler:
- getTime
Method Detail
add(item, repeat, time)
- Parameters:
- {object} item
- {bool} repeat
- {number} time Optional, Default: 1
- See:
- ROT.Scheduler#add
clear()
next()
- See:
- ROT.Scheduler#next
remove(item)
- Parameters:
- item
setDuration(time)
Set duration for the active item
- Parameters:
- time