public void restart() { boat.reset(); fromCoast.reset(); toCoast.reset(); for (int i = 0; i < characters.Length; i++) { characters[i].reset(); } }
public void restart() { boat.reset(); fromCoast.reset(); toCoast.reset(); for (int i = 0; i < characters.Length; i++) { characters[i].reset(); } userGUI.tips = AI.getInstance().tip(fromCoast, toCoast, boat); }