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

Method FrameSequence

utilities/olcUTIL_Animate2D.h:113–117  ·  view source on GitHub ↗

Constructs a sequence of frames with a duration and a traversal style

Source from the content-addressed store, hash-verified

111 public:
112 // Constructs a sequence of frames with a duration and a traversal style
113 inline FrameSequence(const float fFrameDuration = 0.1f, const Style nStyle = Style::Repeat)
114 {
115 SetFrameDuration(fFrameDuration);
116 m_nStyle = nStyle;
117 }
118
119 inline void SetFrameDuration(const float fFrameDuration = 0.1f)
120 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected