/** * Sets the state of the specified object. This allows any GameObject to set the state of any * other GameObject. The state should be either STATE_IDLE, STATE_ACTIVE, or STATE_DESTROYED. */ protected void setState(GameObject object, int state) { object.setState(state); }