Class ROT.Scheduler
Abstract scheduler
Defined in: <rot.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
Method Attributes | Method Name and Description |
---|---|
add(item, repeat)
|
|
clear()
Clear all items
|
|
getTime()
|
|
next()
Schedule next item
|
|
remove(item)
Remove a previously added item
|
Method Detail
add(item, repeat)
- Parameters:
- {?} item
- {bool} repeat
clear()
Clear all items
getTime()
{?}
next()
Schedule next item
- Returns:
- {?}
{bool}
remove(item)
Remove a previously added item
- Parameters:
- {?} item
- Returns:
- {bool} successful?