diff options
Diffstat (limited to 'src/message_system.h')
-rw-r--r-- | src/message_system.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/message_system.h b/src/message_system.h index 18dd299..93ca087 100644 --- a/src/message_system.h +++ b/src/message_system.h | |||
@@ -53,6 +53,10 @@ public: | |||
53 | 53 | ||
54 | const std::string& getSpeaker() const { return speakerName_; } | 54 | const std::string& getSpeaker() const { return speakerName_; } |
55 | 55 | ||
56 | bool isNextArrowShowing() const { return showNextArrow_; } | ||
57 | |||
58 | int getNextArrowBob() const { return nextArrowBobPos_; } | ||
59 | |||
56 | private: | 60 | private: |
57 | 61 | ||
58 | enum class BarsState { | 62 | enum class BarsState { |
@@ -70,7 +74,11 @@ private: | |||
70 | std::string speakerName_; | 74 | std::string speakerName_; |
71 | std::list<std::string> lines_; | 75 | std::list<std::string> lines_; |
72 | std::list<MessageLine> linesToShow_; | 76 | std::list<MessageLine> linesToShow_; |
73 | Timer textAdvTimer_ { 10 }; | 77 | Timer textAdvTimer_ { 15 }; |
78 | bool showNextArrow_ = false; | ||
79 | int nextArrowBobPos_ = 0; | ||
80 | bool nextArrowBobDown_ = true; | ||
81 | Timer nextArrowBobTimer_ { 125 }; | ||
74 | }; | 82 | }; |
75 | 83 | ||
76 | #endif /* end of include guard: MESSAGE_SYSTEM_H_DE10D011 */ | 84 | #endif /* end of include guard: MESSAGE_SYSTEM_H_DE10D011 */ |