Example #1
0
        private void MouseScroll(MouseScrollWheel value)
        {
            var tempWeapon = ServiceLocator.Resolve <Inventory>().SelectWeapon(value);

            SelectWeapon(tempWeapon);
        }
 public static void RemoveWeapon()
 {
     ServiceLocator.Resolve <WeaponController>().Off();
     _weaponNumber = 0;
 }
Example #3
0
        private void SelectWeapon(int value)
        {
            var tempWeapon = ServiceLocator.Resolve <Inventory>().SelectWeapon(value);

            SelectWeapon(tempWeapon);
        }