Пример #1
0
        public Player(string name, BaseTown basetown, PlayerColor color, Resources resources, bool IsHuman, StartBonus bonus, Difficult difficult)
        {
            this.name      = name;
            this.basetown  = basetown;
            this.color     = color;
            this.resources = resources;
            this.IsHuman   = IsHuman;

            InitializeStartResources(bonus, difficult);
        }
Пример #2
0
        private void InitializeStartResources(StartBonus bonus, Difficult difficult)
        {
            resources = IsHuman ? GetHumanStartResources(difficult) : GetComputerStartResources(difficult);

            //resources +=
        }