aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Animator.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe/api/Animator.h')
-rw-r--r--src/crepe/api/Animator.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/crepe/api/Animator.h b/src/crepe/api/Animator.h
index 95539d3..d1f49c4 100644
--- a/src/crepe/api/Animator.h
+++ b/src/crepe/api/Animator.h
@@ -108,6 +108,12 @@ private:
//! Uses the spritesheet
friend AnimatorSystem;
+
+protected:
+ virtual std::unique_ptr<Component> save() const;
+ Animator(const Animator &) = default;
+ virtual void restore(const Component & snapshot);
+ virtual Animator & operator=(const Animator &);
};
} // namespace crepe