Since an entity is essentially tied to a manager, put it as a field in
Entity. This means no need to pass entity manager when getting a
component, which is more intuitive.
Changelog:
- Add tile sprites as part of Level Data
- Render tile sprite if loaded in
- CSprite now stores array of sprite rendering info
- use current idx to keep track
Changelog:
- Turns out, the map doesnt make a copy of the string for storage.
Therefore, need to store the name somewhere before inserting into
the map.
- Add struct for each assets to retain the name.
- Update assets functions to maintain interface