Ejemplo n.º 1
0
 public static void ResetGameState(
     IScoreManager scoreManager,
     IPlayer humanPlayer)
 {
     humanPlayer.Reset();
     scoreManager.ResetScores();
 }
Ejemplo n.º 2
0
 public void Start()
 {
     _globeManager.Globe     = null;
     _humanPlayer.GlobeNode  = null;
     _humanPlayer.MainPerson = null;
     _humanPlayer.SectorSid  = null;
     _humanPlayer.Terrain    = null;
     _scoreManager.ResetScores();
 }
Ejemplo n.º 3
0
 public static void ResetGameState(
     IWorldManager globeManager,
     IScoreManager scoreManager,
     HumanPlayer humanPlayer)
 {
     globeManager.Globe     = null;
     humanPlayer.GlobeNode  = null;
     humanPlayer.MainPerson = null;
     humanPlayer.SectorSid  = null;
     humanPlayer.Terrain    = null;
     scoreManager.ResetScores();
 }