Update to new Arbutils
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -55,12 +55,12 @@ namespace CreatureLib::Battling {
|
||||
};
|
||||
|
||||
class DisplayTextEvent : public EventData {
|
||||
const std::string _text;
|
||||
const ArbUt::StringView _text;
|
||||
|
||||
public:
|
||||
DisplayTextEvent(const std::string& text) noexcept : _text(text) {}
|
||||
DisplayTextEvent(const ArbUt::StringView& text) noexcept : _text(text) {}
|
||||
EventDataKind GetKind() const noexcept override { return EventDataKind ::DisplayText; }
|
||||
const std::string& GetText() const noexcept { return _text; }
|
||||
const ArbUt::StringView& GetText() const noexcept { return _text; }
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user