示例#1
0
        public void ResetFormation()
        {
            Location = new Point(Spacing, Spacing);
            for (int i = 0; i < 11; i++)
            {
                for (int j = 0; j < 6; j++)
                {
                    _formationSlots[i, j] = new FormationSlot(this, i, j);
                }
            }

            _justMovedDown     = false;
            _nextMoveDirection = Direction.Right;
        }
示例#2
0
 public void SetSlot(FormationSlot slot)
 {
     _formationSlots[slot.Column, slot.Row] = slot;
 }