Exemplo n.º 1
0
 public override void MouseMove(MouseMoveEventArgs e)
 {
     _inventoryContainer.MouseMove(e);
 }
Exemplo n.º 2
0
        public override void MouseMove(MouseInputEventArgs e)
        {
            switch (_currentTab)
            {
            case (1):     //Equip tab
            {
                #region Equip

                //Left Side - head, eyes, outer, hands, feet
                _slotHead.MouseMove(e);
                _slotEyes.MouseMove(e);
                _slotOuter.MouseMove(e);
                _slotHands.MouseMove(e);
                _slotFeet.MouseMove(e);

                //Right Side - mask, ears, inner, belt, back
                _slotMask.MouseMove(e);
                _slotEars.MouseMove(e);
                _slotInner.MouseMove(e);
                _slotBelt.MouseMove(e);
                _slotBack.MouseMove(e);

                if (_inventory != null)
                {
                    _inventory.MouseMove(e);
                }
                break;

                #endregion
            }

            case (2):     //Health tab
            {
                #region Status

                break;

                #endregion
            }

            case (3):     //Craft tab
            {
                #region Crafting

                if (_craftTimer != null)
                {
                    _craftTimer.MouseMove(e);
                }
                _craftSlot1.MouseMove(e);
                _craftSlot2.MouseMove(e);
                _craftButton.MouseMove(e);
                _blueprints.MouseMove(e);
                if (_inventory != null)
                {
                    _inventory.MouseMove(e);
                }
                break;

                #endregion
            }
            }
        }