Move the step_animation out of the animate2 module since it's only used in raycaster.cpp.
This commit is contained in:
parent
89ca204f3d
commit
83f62e3f45
3 changed files with 19 additions and 17 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue