Ejemplo n.º 1
0
 public override void OnWeaponPickup(CastleButcher.GameEngine.Weapons.WeaponPickup weapon)
 {
     base.OnWeaponPickup(weapon);
     //if (weapon.WeaponClass.WeaponType == CastleButcher.GameEngine.Weapons.WeaponType.Ranged)
     //{
     //    playerControl.RenderCrosshair = true;
     //}
 }
Ejemplo n.º 2
0
 public void OnWeaponChanged(CastleButcher.GameEngine.Weapons.WeaponClass newWeapon)
 {
     if (newWeapon == null || newWeapon.WeaponType != CastleButcher.GameEngine.Weapons.WeaponType.Ranged)
     {
         playerControl.RenderCrosshair = false;
     }
     else
     {
         playerControl.RenderCrosshair = true;
     }
 }
Ejemplo n.º 3
0
 public override void OnWeaponPickup(CastleButcher.GameEngine.Weapons.WeaponPickup weapon)
 {
     base.OnWeaponPickup(weapon);
 }