예제 #1
0
 public void Fight(Position Hit, Position Block)
 {
     bot.Rand    = ran.Next(GameSetup.MinHit, GameSetup.MaxHit);
     player.Rand = ran.Next(GameSetup.MinHit, GameSetup.MaxHit);
     player.GetHit(bot.RandomHit, bot.Damage);
     bot.SetBlock(bot.RandomBlock);
     player.SetBlock(Block);
     bot.GetHit(Hit, player.Damage);
 }