Пример #1
0
        /// <summary>
        /// Performs an attack by the provided Attacking Card in the given direction
        /// </summary>
        /// <param name="direction"></param>
        /// <param name="attackingCard"></param>
        private void SecondaryAttack(Cardinal direction, BattleTile attackingCard)
        {
            //Check to see if any existing power token is activated (i.e. Rotate)
            if (attackingCard.ActiveToken == "ROTATE")
            {
            }

            //Determines whether the attack will be successful. If it is, call this method again with the next card

            //Capture/exchanges any counters
        }
Пример #2
0
        /// <summary>
        /// Performs battle tile activity after user has selected the spot to place the tile.
        /// </summary>
        /// <param name="selectedTile"></param>
        private void PlayBattleTile(BattleTile selectedTile)
        {
            //Player selects spot to place tile

            //Player selects any battle tokens

            //Perform attack, or perform token

            //Finish up any remaining token actions (add counters?)

            //Check to see if the game is over

            //switch active player
        }
Пример #3
0
        private void button_Next_Click(object sender, EventArgs e)
        {
            if (radio_Battle.Checked == true)
            {
                //

                BattleTile newcard = new BattleTile();


                battleTiles.Add(newcard);
            }
            else if (radio_Character.Checked == true)
            {
                //

                CharacterCard newcard = new CharacterCard();
                charCards.Add(newcard);
            }
        }
Пример #4
0
 /// <summary>
 /// The active card performs an attack in all cardinal directions
 /// </summary>
 private void PerformAttack(BattleTile activeCard)
 {
     //Determine which directions are defeated
 }
Пример #5
0
 /// <summary>
 /// Places a battle tile in a slot.
 /// </summary>
 public static void PlaceTile(BattleTile tile, int x, int y)
 {
     Field[x, y].PlacedTile = tile;
 }
Пример #6
0
 public static void PlaceTile(BattleTile placedCard, CardEdge adjacent)
 {
 }