MCPcopy Create free account
hub / github.com/OneLoneCoder/olcPixelGameEngine / Complete

Method Complete

utilities/olcUTIL_Animate2D.h:138–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136 }
137
138 inline const bool Complete(const float fTime) const
139 {
140 return std::abs(fTime - (m_vFrames.size() * m_fFrameDuration)) < 0.01f;
141 }
142
143 private:
144 Style m_nStyle;

Callers 1

UpdateStateMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected