message: reordered NovelRunner.h
diff: @@ -14,7 +14,27 @@ namespace NovelRT {
  * The base class for creating a visual novel.
  */
  class NovelRunner {
  +
  + private:
  + StepTimer _stepTimer;
  + std::vector<NovelUpdateSubscriber> _updateSubscribers;
  + NovelLayeringService* _layeringService;
  + std::unique_ptr<NovelDebugService> _novelDebugService;
  + std::unique_ptr<NovelRenderingService> _novelRenderer;
  + std::unique_ptr<NovelInteractionService> _novelInteractionService;
  + std::unique_ptr<NovelAudioService> _novelAudioService;
  + int _exitCode = 1;
  +
  public:
  + /**
  + * Instantiates the NovelRunner class with its presets.
  + *
  + * @param displayNumber The display on which to start the novel.
  + * @param layeringService The NovelLayeringService that NovelRunner should use.
  + * @param targetFrameRate The framerate that should be targeted and capped.
  + */
  + explicit NovelRunner(int, NovelLayeringService*, uint32_t targetFrameRate = 0);
  +
  /**
  * Executes the provided code upon update.
  *
  @@ -28,15 +48,6 @@ public:
  */
  void stopRunningOnUpdate(NovelUpdateSubscriber);
  - /**
  - * Instantiates the NovelRunner class with its presets.
  - *
  - * @param displayNumber The display on which to start the novel.
  - * @param layeringService The NovelLayeringService that NovelRunner should use.
  - * @param targetFrameRate The framerate that should be targeted and capped.
  - */
  - explicit NovelRunner(int, NovelLayeringService*, uint32_t targetFrameRate = 0);
  -
  /**
  * Starts the visual novel.
  * @returns Exit code.
  @@ -49,16 +60,6 @@ public:
  /// The Debug Service associated with this Runner.
  NovelDebugService* getDebugService() const;
  NovelAudioService* getAudioService() const;
  -
  -private:
  - StepTimer _stepTimer;
  - std::vector<NovelUpdateSubscriber> _updateSubscribers;
  - NovelLayeringService* _layeringService;
  - std::unique_ptr<NovelDebugService> _novelDebugService;
  - std::unique_ptr<NovelRenderingService> _novelRenderer;
  - std::unique_ptr<NovelInteractionService> _novelInteractionService;
  - std::unique_ptr<NovelAudioService> _novelAudioService;
  - int _exitCode = 1;
  };
  }
  