MCPcopy Create free account
hub / github.com/atraczyk/2d-engine / AnimationFrame

Method AnimationFrame

engine/src/entity.cpp:21–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19extern Input input;
20
21AnimationFrame::AnimationFrame(ScreenRect src_rect, unsigned int delay)
22{
23 sourceRectangle = src_rect;
24 frameDelay = delay;
25}
26
27void SpriteAtlas::initialize(unsigned int* ptex) { texture = ptex; }
28

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected