public void onDeath(DeathEvent e) { gameOver(); }
public void onWin(WinEvent e) { gameOver(); }
public void gameOver() {
if (myRobot.getRoundNum() == myRobot.getNumRounds() - 1) {
// This is the end, my friend.
}
}
-- Ray Vermette
Anyone that has peeked at the code of TheArtOfWar will recognize that. =) -- PEZ