#pragma once #include "objects/annotation.h" #include "objects/base/instance.h" #include // Dims the player's screen and displays some centered text class DEF_INST_(explorer_icon="message") Message : public Instance { AUTOGEN_PREAMBLE protected: Message(const InstanceType* type); public: Message(); ~Message(); DEF_PROP std::string text; static inline std::shared_ptr New() { return std::make_shared(); }; static inline std::shared_ptr Create() { return std::make_shared(); }; };