Beispiel #1
0
 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();
 }
Beispiel #2
0
 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();
 }
Beispiel #3
0
 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();
 }