private void initSettings() { status = GameStatus.playing; leftCoast.initSettings(); rightCoast.initSettings(); for (int i = 0; i < 6; i++) { characters[i].initSettings(); characters[i].setPosOnCoast(rightCoast.getVacantIndex()); } boat.initSettings(); }
private void initSettings() { winGame = loseGame = false; leftCoast.initSettings(); rightCoast.initSettings(); for (int i = 0; i < 6; i++) { characters[i].initSettings(); characters[i].setPosOnCoast(rightCoast.getVacantIndex()); } boat.initSettings(); }
private void initSettings() { status = GameStatus.playing; leftCoast.initSettings(); rightCoast.initSettings(); for (int i = 0; i < 6; i++) { characters[i].initSettings(); characters[i].setPosOnCoast(rightCoast.getVacantIndex()); } boat.initSettings(); Destroy(tip); tip = gameObject.AddComponent <statusGraph>() as statusGraph; tip.createGraph(); }