| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
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.
|
|
|
|
| |
Also restyled a lot of the code.
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|