#pragma once #include "images.h" #include #include namespace enemies { struct animation_t { std::string name {""}; float speed {0.0f}; uint8_t loop {0}; std::vector frames; }; struct enemy_t { draw::surface *tileSetFile {nullptr}; uint8_t frame_width {0}; uint8_t frame_height {0}; std::vector animations; }; void load(); enemy_t &get(std::string name); }