// Behaviors @Override public void startBehavior(CIBehavior b) { stopActiveBehavior(); activeBehavior = b; behaviorTimestep = 0; activeBehavior.start(); String str = "Starting CIBehavior " + activeBehavior.toString(); log(LogCodex.encodeLog(LogType.MESSAGE, str)); }