Sprite is now a component we can place on anything to render it.

This commit is contained in:
Zed A. Shaw 2025-02-10 12:58:24 -05:00
parent 9c37960283
commit 6bca6d021e
8 changed files with 50 additions and 26 deletions

View file

@ -77,6 +77,10 @@ namespace components {
void configure_events(std::vector<std::string> &event_names);
};
struct Sprite {
string name;
};
void configure(ComponentMap& component_map);
// these need to be here if you're using components::convert outside of components.cpp