Example #1
0
 private void HandleShooting()
 {
     if (_fireInput > 0)
     {
         _shipModel.FireGun(Vector2.up);
     }
 }
Example #2
0
 public void FireGun()
 {
     shipView.OnFire();
     shipModel.FireGun(Vector2.down);
 }