summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/animation/animation.cpp5
-rw-r--r--src/resources/animation/animation.h5
2 files changed, 0 insertions, 10 deletions
diff --git a/src/resources/animation/animation.cpp b/src/resources/animation/animation.cpp
index 1a10f5224..a657823e6 100644
--- a/src/resources/animation/animation.cpp
+++ b/src/resources/animation/animation.cpp
@@ -55,11 +55,6 @@ void Animation::addTerminator(const int rand) noexcept2
addFrame(nullptr, 0, 0, 0, rand);
}
-bool Animation::isTerminator(const Frame &candidate) noexcept2
-{
- return (!candidate.image && candidate.type == FrameType::ANIMATION);
-}
-
void Animation::addJump(const std::string &name, const int rand) noexcept2
{
Frame frame = { nullptr, 0, 0, 0, rand, FrameType::JUMP, name };
diff --git a/src/resources/animation/animation.h b/src/resources/animation/animation.h
index b396bae49..8b99bac1b 100644
--- a/src/resources/animation/animation.h
+++ b/src/resources/animation/animation.h
@@ -91,11 +91,6 @@ class Animation final : public MemoryCounter
std::string getCounterName() const override
{ return mName; }
- /**
- * Determines whether the given animation frame is a terminator.
- */
- static bool isTerminator(const Frame &phase) noexcept2 A_WARN_UNUSED;
-
protected:
Frames mFrames;
std::string mName;