Renders the game.
void render(Canvas canvas, Size size) { for (GameEntity entity in entities) { entity.render(canvas); } }