/**
  *  Act on inputs
  */
 public override void TakeInput(Inventory.InputType input)
 {
     if (input == Inventory.InputType.WEAPON_FIRE1_DOWN)
     {
         Shoot();
     }
     else if (input == Inventory.InputType.WEAPON_FIRE1 && automatic)
     {
         Shoot();
     }
     else if (input == Inventory.InputType.WEAPON_RELOAD)
     {
         Reload();
     }
 }
Beispiel #2
0
 /**
  *  Act on inputs
  */
 public virtual void TakeInput(Inventory.InputType input)
 {
 }