onPush method

bool onPush(
  1. GameComponent component
)

Returning true if the component is pushable, false otherwise.

Implementation

bool onPush(GameComponent component) {
  return true;
}