public ScenarioRunner ReceivesResourcesStolenEvent(ResourceClutch lostResource) { var gameEvent = new ResourcesLostEvent(lostResource, this.currentPlayerAgent.Id, ResourcesLostEvent.ReasonTypes.Robbed); this.AddEventInstruction(gameEvent); return(this); }
public ScenarioRunner ReceivesResourcesStolenEvent(string playerName, ResourceClutch lostResource) { var gameEvent = new ResourcesLostEvent(lostResource, this.playerAgentsByName[playerName].Id, ResourcesLostEvent.ReasonTypes.Witness); this.AddEventInstruction(gameEvent); return(this); }