DelayBehavior
DelayBehavior
Wait for a certain amount of time, then succeed
Kind: global class
Author: Alex Goldring
Copyright: Company Named Limited (c) 2025
- DelayBehavior
- instance
- static
delayBehavior.value : number
Delay value in seconds, how long should we wait?
Kind: instance property of DelayBehavior
delayBehavior.elapsed : number
Time elapsed Must be finite, modified during update and initialization
Kind: instance property of DelayBehavior
DelayBehavior.fromJSON(json) ⇒ DelayBehavior
Kind: static method of DelayBehavior
| Param |
|---|
| json |
DelayBehavior.from(seconds) ⇒ DelayBehavior
Kind: static method of DelayBehavior
| Param | Type | Description |
|---|---|---|
| seconds | number | in seconds |