private static Monster CopyMonster(Monster monsterToCopy) { return new Monster(monsterToCopy.Name, monsterToCopy.TotalHealth, monsterToCopy.AttackDamage, monsterToCopy.ExpGivenOnDeath); }
private Task MonsterAttacksPlayer(Monster monster, Team activePlayerTeam, HealthBar playerHealth) { var monsterAttackDamage = monster.AttackDamage; activePlayerTeam.TakeDamage(1000); return playerHealth.SetHealthPercentage(activePlayerTeam.CurrentHealth, activePlayerTeam.TotalHealth); }
private Task ActivateMonster(Monster monster) { _monsterUI.MonsterImage.Source = ImageUtils.GetImageSourceFromPath("/" + monster.FullImagePath); ActiveMonster = monster; return MonsterHealth.SetHealthPercentage(monster.CurrentHealth, monster.TotalHealth); }
public DungeonFloor(Monster monster) { Monsters = monster; }