예제 #1
0
 private void TryAttack(Player player)
 {
     AttackTimer.Tick();
     if (AttackTimer.IsReady)
     {
         player.TakeDamage(Damage);
         AttackTimer.Restart();
     }
 }