onPush method

bool onPush(
  1. GameComponent component
)

Returns true if the component is pushable, false otherwise.

Implementation

bool onPush(GameComponent component) {
  return true;
}