public void clearBehaviour() { idle = true; active_behaviour = null; }
public void setBehaviour(GBehaviour behaviour) { active_behaviour = behaviour; behaviour.owner = this; idle = false; }