OnPushCallback typedef
OnPushCallback =
bool Function(GameComponent component)
Callback used to decide if the component accepts being pushed by component.
Implementation
typedef OnPushCallback = bool Function(GameComponent component);