Ejemplo n.º 1
0
        public override void Activate()
        {
            base.Activate();

            this[4, 2] = SharedTiles.PieceLogo(this.player.HumanPower, false);
            this[5, 2] = SharedTiles.PieceLogo(this.player.PlantPower, false);
            this[4, 3] = SharedTiles.PieceLogo(this.player.SpecialPower, false);
            this[5, 3] = SharedTiles.PieceLogo(this.player.EnergyPower, false);
        }
Ejemplo n.º 2
0
        private void UpdateColumn(int column, int newRow)
        {
            this._selections[column - 1] = newRow;
            var powerList = powerOptions[column - 1];

            this[column, 1] = SharedTiles.PieceLogo(powerList[0], this._selections[column - 1] == 1);
            this[column, 2] = SharedTiles.PieceLogo(powerList[1], this._selections[column - 1] == 2);
            this[column, 3] = SharedTiles.PieceLogo(powerList[2], this._selections[column - 1] == 3);
        }