コード例 #1
0
    private void DrawEnviroment(GameState gameState, Player mePlayer)
    {
        gameObjects.Add(CardsGenerator.DrawEstateCard(mePlayer.CompletedProjects.Count));
        gameObjects.Add(CardsGenerator.DrawProjectsCard(mePlayer.ProjectArea.Count));
        gameObjects.Add(CardsGenerator.DrawStorageCard(mePlayer.Goods.Count));
        gameObjects.Add(CardsGenerator.DrawAllAnimalsCard(mePlayer.Animals.Count));

        gameObjects.Add(CardsGenerator.DrawSellStuffCard());
        gameObjects.Add(CardsGenerator.DrawShipGoodsCard());
        gameObjects.Add(CardsGenerator.DrawSilverCard(mePlayer.SilverCount, mePlayer.SilverActionDoneThisTurn));
        gameObjects.Add(CardsGenerator.DrawWorkersCard(mePlayer.WorkersCount));

        gameObjects.Add(CardsGenerator.DrawPointsElement(mePlayer.Score));
        gameObjects.Add(CardsGenerator.DrawNextTurnButton());
        gameObjects.Add(CardsGenerator.DrawExitGameButton());

        gameObjects.Add(CardsGenerator.DrawBigBackgroundCard(StaticCards.DummyAllProjects, D.PositionCardProjectsBigCard));

        gameObjects.Add(CardsGenerator.DrawCurrentBonusCard(gameState.CurrentRound));
    }