* Checks if a component has defined a method that needs to run every frame.
(component)
| 707 | * Checks if a component has defined a method that needs to run every frame. |
| 708 | */ |
| 709 | function hasBehavior (component) { |
| 710 | return component.tick || component.tock; |
| 711 | } |
| 712 | |
| 713 | /** |
| 714 | * Wrapper for defined pause method. |