Add knockback when attacking, fix animation state
This commit is contained in:
@@ -52,7 +52,7 @@ bool updateParticle(const Texture2D tex, Particle *particle, f32 dt);
|
||||
|
||||
Particle spawnParticle(const ParticleEmitter *emitter);
|
||||
|
||||
void animationSetState(Animation *anim, AnimType type, bool playInFull);
|
||||
void animationSetState(ecs_entity_t entity, Animation *anim, TextureRegion *texture, AnimType type, bool playInFull);
|
||||
/*
|
||||
* 1: Animation
|
||||
* 2: TextureRegion
|
||||
|
||||
Reference in New Issue
Block a user