/** * The generic activators of entities. If there is brain, this brain is activated via the doIt * method. */ public void doIt() { beforeDoIt(); if (myBrain != null) { myBrain.doIt(); } else bodyDoIt(); afterDoIt(); }