public override void SetActor(IMoveableActor actor)
 {
     this.actor           = actor;
     _inputCollection     = new List <Direction>();
     dest                 = new Vector2();
     lanePositionToMoveTo = actor.CurrentPosition.x;
 }
 public ControllerScenario ForActor(IMoveableActor actor)
 {
     controller.SetActor(actor);
     return(this);
 }
Beispiel #3
0
 public abstract void SetActor(IMoveableActor actor);
Beispiel #4
0
 public ActorBuilder()
 {
     actor = Substitute.For <IMoveableActor>();
 }