예제 #1
0
파일: WB8.cs 프로젝트: sunneh/7Wonders
        //public int[] getResources() { return resources; }

        public override void incrementWonderLevel(PlayerState p)
        { 
            if(notMaxYet()){
                currentWonderLevel++;
                switch (currentWonderLevel)
                {
                    case 1:
                        p.updateMilitaryPower(1);
                        victoryPoints = 3;
                        p.updateCoins(3);
                        return;
                    case 2:
                        p.updateMilitaryPower(1);
                        victoryPoints = 7;
                        p.updateCoins(4);
                        break;
                }
            }
        }
예제 #2
0
        //public int[] getResources() { return resources; }

        public override void incrementWonderLevel(PlayerState p)
        {
            if (notMaxYet())
            {
                currentWonderLevel++;
                switch (currentWonderLevel)
                {
                case 1:
                    p.updateMilitaryPower(1);
                    victoryPoints = 3;
                    p.updateCoins(3);
                    return;

                case 2:
                    p.updateMilitaryPower(1);
                    victoryPoints = 7;
                    p.updateCoins(4);
                    break;
                }
            }
        }
예제 #3
0
파일: WB7.cs 프로젝트: sunneh/7Wonders
        //public int[] getResources() { return resources; }

        public override void incrementWonderLevel(PlayerState p)
        { 
            if(notMaxYet()){
                currentWonderLevel++;
                switch (currentWonderLevel)
                {
                    case 1:
                        victoryPoints = 3;
                        return;
                    case 2:
                        p.updateMilitaryPower(2);
                        break;
                    case 3:
                        victoryPoints = 10;
                        break;

                }
            }
        }
예제 #4
0
        //public int[] getResources() { return resources; }

        public override void incrementWonderLevel(PlayerState p)
        {
            if (notMaxYet())
            {
                currentWonderLevel++;
                switch (currentWonderLevel)
                {
                case 1:
                    victoryPoints = 3;
                    return;

                case 2:
                    p.updateMilitaryPower(2);
                    break;

                case 3:
                    victoryPoints = 10;
                    break;
                }
            }
        }