Move the step_animation out of the animate2 module since it's only used in raycaster.cpp.

This commit is contained in:
Zed A. Shaw 2026-02-24 11:14:16 -05:00
parent 89ca204f3d
commit 83f62e3f45
3 changed files with 19 additions and 17 deletions

View file

@ -138,11 +138,8 @@ namespace animate2 {
void configure(DinkyECS::World& world, DinkyECS::Entity entity);
void step_animation(DinkyECS::World& world, DinkyECS::Entity entity, sf::Sprite& sprite);
void animate_entity(DinkyECS::World &world, DinkyECS::Entity entity);
ENROLL_COMPONENT(Sheet, frames, frame_width, frame_height);
ENROLL_COMPONENT(Sequence, frames, durations);
ENROLL_COMPONENT(Transform, min_x, min_y, max_x, max_y,