Exemplo n.º 1
0
        public ScenarioRunner ReceivesResourcesStolenEvent(ResourceClutch lostResource)
        {
            var gameEvent = new ResourcesLostEvent(lostResource, this.currentPlayerAgent.Id, ResourcesLostEvent.ReasonTypes.Robbed);

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

            this.AddEventInstruction(gameEvent);
            return(this);
        }