aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Text.h
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2025-01-08 16:18:03 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2025-01-08 16:18:03 +0100
commit8edce6775ab0639a2a6eee3e561d3de0bb0c2cf1 (patch)
treebbcd5a708c59a44743661e7a0b7145e3c1baf90e /src/crepe/api/Text.h
parent023cab57bef8738e3243f3720f56821c111c807e (diff)
parentf857cb4013701a24cff5131d64e5ab238392faab (diff)
Merge branch 'master' into niels/game
Diffstat (limited to 'src/crepe/api/Text.h')
-rw-r--r--src/crepe/api/Text.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/crepe/api/Text.h b/src/crepe/api/Text.h
index 8b3d53e..859490e 100644
--- a/src/crepe/api/Text.h
+++ b/src/crepe/api/Text.h
@@ -49,6 +49,12 @@ public:
std::optional<Asset> font;
//! Data instance
Data data;
+
+protected:
+ virtual std::unique_ptr<Component> save() const;
+ Text(const Text &) = default;
+ virtual void restore(const Component & snapshot);
+ virtual Text & operator=(const Text &);
};
} // namespace crepe