8fc895e5842070086948bba9e2ba493b6b023ee2
Remove the use of beginAttack and endAttack in the entity update loop and delegate all changes to entity through state switching. This consolidates the flow of data in the loop more consistently by going through one master function. This also minimises the number of entry-points to functions that will update an entity states- for ease of comprehension.
Description
Asteroids built on a handmade engine for learning.
Languages
C
98.9%
Batchfile
0.7%
GLSL
0.4%