Added ability to fire bullets, refectored movement systems
Added DirectionalMovementSystem
and MoveDirectionComponent
. Refactored both PlayerEntity
and EnemyEntity
to use the new movement system. Now HandleInputSystem
updates MoveDirectionComponent
, instead of doing Dx/Dy calculations directly.
New movement system facilitated the addition of bullets, which can now be fired by the player by pressing SPACE
.
Additionally, a component was added for the yet-to-be-created FireControlSystem
.