Sprite is now a component we can place on anything to render it.
This commit is contained in:
parent
9c37960283
commit
6bca6d021e
8 changed files with 50 additions and 26 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue