예제 #1
0
 public void GotHit(Bullet bullet)
 {
     health -= bullet.Damage;
     hitTimer.Start();
 }
예제 #2
0
 public override void Update(int consumption)
 {
     base.Update(consumption);
     hitTimer.Start();
 }