示例#1
0
        /// <summary>
        /// Random obstruction filling gameboard.
        /// Minimal position fill - (1,3).
        /// </summary>
        private void ObstructionFill()
        {
            int row    = 0;
            int column = 0;

            int[] tArray = GenerateObjects.GenerateBonus();
            for (int i = 0; i < tArray.Length; i++)
            {
                CheckValidateCell(ref row, ref column, tArray, i);
            }
        }
示例#2
0
        /// <summary>
        /// Random monster filling gameboard.
        /// Minimal position fill - (1,3).
        /// </summary>
        private void MonsterFill()
        {
            int row    = 0;
            int column = 0;

            int[] tArray = GenerateObjects.GenerateMobs();
            for (int i = 0; i < tArray.Length; i++)
            {
                CheckValidateCell(ref row, ref column, tArray, i);
            }
        }