game_state_vn.h 536 B

1234567891011121314151617181920212223
  1. #ifndef GAME_STATE_VN_H
  2. #define GAME_STATE_VN_H
  3. #include "game_state_base.h"
  4. class vn : public state
  5. {
  6. private:
  7. bn::fixed_point textboxPosition;
  8. int script_index;
  9. int line_index;
  10. int symbol_index;
  11. public:
  12. vn();
  13. vn(const bn::string_view& script_line, bn::sprite_text_generator* _text_gnrtr);
  14. vn(const int textboxX, const int textboxY, const bn::string_view& script_line, bn::sprite_text_generator* _text_gnrtr);
  15. ~vn();
  16. void draw() override;
  17. void update() override;
  18. };
  19. #endif // GAME_STATE_VN_H