public RlActor setBehavior(iBehavior beh) { this.behavior = beh; return(this); }
public EntityFactory actor(iBehavior beh, int speed) { this.entity.add(new RlActor(beh, speed)); return(this); }
public RlActor(iBehavior behavior, int speedLevel = 3) { this.behavior = behavior; this.energy = Energy.fromSpeedLevel(3); }