public void Fire(int type)
 {
     if (Ship != null && type >= 0 && type <= 2)
     {
         FireAction fa = new FireAction(type);
         if (IsEvent)
         {
             AddEvent(fa);
         }
         else
         {
             AddAction(fa);
         }
     }
 }
 public void Fire(int type)
 {
     if (Ship != null && type >= 0 && type <= 2)
     {
         FireAction fa = new FireAction(type);
         if (IsEvent)
             AddEvent(fa);
         else
             AddAction(fa);
     }
 }