Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atraczyk/2d-engine
/ AnimationFrame
Class
AnimationFrame
engine/src/entity.h:98–105 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
96
} ANIMATION;
97
98
struct AnimationFrame
99
{
100
ScreenRect sourceRectangle;
101
int frameDelay;
102
103
AnimationFrame(ScreenRect src_rect, unsigned int delay);
104
~AnimationFrame(){};
105
};
106
107
class SpriteAtlas
108
{
Callers
1
addFrame
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected