Exemple #1
0
        ///<summary>Forgets the move on top, and moves all of the others up once. The last slot will be empty</summary>
        public void ShiftMovesUp()
        {
            for (int i = 1; i < PkmnConstants.NumMoves; i++)
            {
                BoxMovesetSlot above = _slots[i - 1];
                BoxMovesetSlot below = _slots[i];
                above.Move  = below.Move;
                above.PPUps = below.PPUps;
            }
            BoxMovesetSlot bottom = _slots[PkmnConstants.NumMoves - 1];

            bottom.Clear();
        }