public void RequestLoadMap(System.Action <string> messageAction, MapCreationFinished interfaceEnablingAction)
 {
     if (serializationScript.LoadMap(out mapTemplate))
     {
         DisplayMap(interfaceEnablingAction);
     }
     else
     {
         messageAction.Invoke("Load Failed");
         interfaceEnablingAction.Invoke();
     }
 }
 private void DisplayMap(MapCreationFinished interfaceEnablingAction)
 {
     tilesManager.CleanPreviousMap();
     tilesManager.DisplayMap(mapTemplate, interfaceEnablingAction);
 }
 public void RegisterToOnMapFinished(MapCreationFinished listener)
 {
     OnMapFinished += listener;
 }