// Copyright (c) 2022 Dominic Masters
// 
// This software is released under the MIT License.
// https://opensource.org/licenses/MIT

#pragma once
#include "visualnovel/VisualNovelManager.hpp"

namespace Dawn {
  class VisualNovelTextboxEvent : public IVisualNovelEvent {
    protected:
      std::string text;
      bool_t hasSetText = false;
      
      void onStart(IVisualNovelEvent *previous) override;
      bool_t onUpdate() override;
      void onEnd() override;
    
    public:
      VisualNovelTextboxEvent(
        VisualNovelManager *manager,
        std::string text
      );
  };
}