public bool CheckForWinner() { if (hero.isAlive() == false) { Logger.AddToLog(hero.myBeast.name + " died, " + beast.name + " won the battle!"); return(true); } else if (beast.isAlive() == false) { Logger.AddToLog(beast.name + " died, " + hero.myBeast.name + " won the battle!"); return(true); } return(false); }
public bool isAlive() { return(myBeast.isAlive()); }