Esempio n. 1
0
 @Override
 public void onDisable() {
   playerManager.clear();
   worldManager.clear();
   eventManager.clear();
   gameManager.clear();
   if (hearts != null) hearts.disable();
   instance = null;
 }
Esempio n. 2
0
 public void clear() {
   eventManager.clear();
   // worldManager.clear();
 }
Esempio n. 3
0
 public void unregisterGame(Game game) {
   eventManager.unregisterGame(game);
   worldManager.unregisterGame(game);
   playerManager.unregisterGame(game);
   gameManager.unregisterGame(game);
 }