summary refs log tree commit diff stats
path: root/src/system.h
Commit message (Collapse)AuthorAgeFilesLines
* Moved sprite rendering into AnimatingSystemKelly Rauchenberger2018-02-081-1/+30
| | | | Refactored how systems work slightly. Now, rendering can be done by a number of systems working together. Since the AnimatingSystem handles the animation of sprites, it should also handle the rendering of them. Because of this, the RenderingSystem has been removed.
* Introduced animated spritesKelly Rauchenberger2018-02-081-3/+9
| | | | Also restyled a lot of the code.
* Changed EntityManager to dense vectorKelly Rauchenberger2018-02-071-6/+9
| | | | | | | | This should improve speed, because entity lookup will be O(1) instead of O(log n). Deletion is also O(1). Insert stays at potentially O(n), but still should be overall faster than the previous method. Also replaced some asserts with exceptions. Also made Component polymorphic so that deletion actually works properly.
* Whitespace changesKelly Rauchenberger2018-02-051-2/+2
|
* Player now movesKelly Rauchenberger2015-06-261-2/+8
|
* Now displaying player characterKelly Rauchenberger2015-06-181-0/+11