I also added a call to repaint the game's display when the ship hyper
jumps, this allows the display to update the ship's location while the
game is paused.
I updated AsteroidGame.downShip() to move & stop the ship, rather than
deleting the current ship and creating a new one. Ships are only
deleted when the game is over.
I added MovingSpaceObject.allStop() to complement the above.
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
in each level, there are the equivilent number of asteroids in respect
to the game's level. i.e. level 1 = 1 asteroids, level 6 = 6 asteroids
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
Game world objects no longer move (when paused) while the window is
being redrawn for resize events
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
I have started this project, to betterunderstand basic game development.
This commit contains Most of the frame work for the game. Currently the
ship can be flown around the screen.
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>