message: reordered NovelInteractionObject.h
diff: @@ -12,19 +12,22 @@ namespace NovelRT {
  class NovelInteractionObject : public NovelObject {
  friend class NovelInteractionService; //how to make shit tightly coupled oh god
  + private:
  + std::function<void(NovelInteractionObject*)> _notifyHasBeenDrawnObject;
  + KeyCode _subscribedKey = LeftMouseButton;
  +
  NOVELRT_PARAMETERLESS_EVENT(Interacted)
  public:
  - NovelInteractionObject(NovelLayeringService* layeringService, float screenScale, const GeoVector<float>& size,
  - const NovelCommonArgs& args, const std::function<void(NovelInteractionObject*)> notifyHasBeenDrawnObject);
  + NovelInteractionObject(NovelLayeringService* layeringService,
  + float screenScale,
  + const GeoVector<float>& size,
  + const NovelCommonArgs& args,
  + const std::function<void(NovelInteractionObject*)> notifyHasBeenDrawnObject);
  +
  void executeObjectBehaviour() final;
  virtual bool validateInteractionPerimeter(const GeoVector<float>& mousePosition) const = 0;
  KeyCode getSubscribedKey() const;
  void setSubscribedKey(KeyCode key);
  -
  -private:
  - std::function<void(NovelInteractionObject*)> _notifyHasBeenDrawnObject;
  - KeyCode _subscribedKey = LeftMouseButton;
  -
  };
  }
  #endif //NOVELRT_NOVELINTERACTIONOBJECT_H
  