public override void Context() { TheWarrior.CurrentDirection = AbsoluteDirections.North; Enemy.CurrentDirection = AbsoluteDirections.South; TheWarrior.RequestToSend(new EntityRequest(ActionRequest.WalkForward)); Enemy.RequestToSend(new EntityRequest(ActionRequest.WalkForward)); }
public override void Context() { TheWarrior.RequestToSend(new EntityRequest(ActionRequest.WalkForward)); }
public override void Context() { TheWorld.FindDirectionFacing(TheWarrior).ShouldEqual(AbsoluteDirections.North); TheWarrior.RequestToSend(new EntityRequest(ActionRequest.TurnLeft)); }
public override void Context() { TheWarrior.RequestToSend(new EntityRequest(ActionRequest.None)); }
public override void Because() { WhatsSeen = TheWarrior.Look(); }