docs: @Override
      protected StateEpisode getStateEpisodeForState(IState state)
      {
          if (!(state instanceof ServerState))
              return null;
  
          ServerState sstate = (ServerState)state;
          switch (sstate)
          {
          case WAITING_FOR_MOD_READY:
              return new InitialiseServerModEpisode(this);
          case DORMANT:
              return new DormantEpisode(this);
          case BUILDING_WORLD:
              return new BuildingWorldEpisode(this);
          case WAITING_FOR_AGENTS_TO_ASSEMBLE:
              return new WaitingForAgentsEpisode(this);
          case RUNNING:
              return new RunningEpisode(this);
          case WAITING_FOR_AGENTS_TO_QUIT:
              return new WaitingForAgentsToQuitEpisode(this);
          case ERROR:
              return new ErrorEpisode(this);
          case CLEAN_UP:
              return new CleanUpEpisode(this);
          case MISSION_ENDED:
              return null;//new MissionEndedEpisode(this, MissionResult.ENDED);
          case MISSION_ABORTED:
              return null;//new MissionEndedEpisode(this, MissionResult.AGENT_QUIT);
          default:
              break;
          }
          return null;
      }