Game loop
-
Rendering
-
Player & Object
-
Static Scene & Background
-
Life/Points/Time text
-
-
Update positions
-
Create/Destroy objects
Handles logic:
- Player Life
- Generating Astroids
- Collision
void Render() // Cannon?
void Render() // Icosahedron?
void Move() // change x,y based on velocity & direction
// change vel based on acceleration
double Size
double Velocity
double Acceleration
vector3 Direction // normal vector
Renders a 'sky' behind everything
For checking collisions efficiently