aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Animator.h
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2025-01-08 13:08:35 +0100
committerJAROWMR <jarorutjes07@gmail.com>2025-01-08 13:08:35 +0100
commitf1788548fdc8491442e199c88058c223f506d42c (patch)
tree5946c2bd16f019fe2136be74de059f3dfa5a7437 /src/crepe/api/Animator.h
parentf6d1aa2fe104323b17ef3ed56e33651c67b3febe (diff)
parent1ef80ecfdc1a70a6ebdd43fed82d0f9d305d63dc (diff)
Merge branch 'loek/replay' of github.com:lonkaars/crepe into jaro/game
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