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

Method setAnimationState

engine/src/entity.cpp:107–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105Entity::~Entity() {}
106
107void Entity::setAnimationState(ANIMATION state, int frame)
108{
109 animationState = state;
110 currentAnimationFrame = frame;
111}
112
113AnimationFrame* Entity::getFrame()
114{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected