public static void render(Entity e, Graphics2D g) {
		Color oldColor = g.getColor();
		Font oldFont = g.getFont();
		
		if (e instanceof Asteroid) {
			renderAsteroid((Asteroid) e, g);
		} else if (e instanceof Ship) {
			renderShip((Ship) e, g);
		} else if (e instanceof Bullet) {
			renderBullet((Bullet) e, g);
		} else if (e instanceof Alien) {
			renderAlien((Alien) e, g);
		} else if (e instanceof Powerup) {
			renderPowerup((Powerup) e, g);
		} else if (e instanceof Particle) {
			renderParticle((Particle) e, g);
		}
		
		g.setFont(oldFont);
		g.setColor(oldColor);
	}