Exemplo n.º 1
0
        public void CanCombineHaciendaAndPrivilege()
        {
            AddHaciendaTo(RoleOwner);
            IAction action = new TakeRandomPlantation();

            CanExecuteActionOnce(action, RoleOwner);
            action = new TakeQuarry();
            CanExecuteActionOnce(action, RoleOwner);
        }
Exemplo n.º 2
0
        public void CanTakeQuarryUsingConstructionHut()
        {
            var player          = GetPlayerWithoutPrivilege();
            var constructionHut = new ConstructionHut();

            constructionHut.AddWorker(new Colonist());
            player.Build(constructionHut);
            var action = new TakeQuarry();

            CanExecuteActionOnce(action, player);
        }
Exemplo n.º 3
0
        public void CanTakeQuarryUsingPrivilege()
        {
            var action = new TakeQuarry();

            CanExecuteActionOnce(action, RoleOwner);
        }