Beispiel #1
0
 public void respawn() {
   if (myHero != null) {
     beforeHeroDeath();
     myObjectManager.removeObjDelayed(myHero);
   } else if (myTranscendentHero != null) {
     FarShip farH = myTranscendentHero.getShip();
     setRespawnState(farH.getMoney(), farH.getIc(), farH.getHullConfig());
     myObjectManager.removeObjDelayed(myTranscendentHero);
   }
   createPlayer(null);
 }