private static void logic(long delta){
		for (ListIterator<Asteroid> iterator = asteroidList.listIterator(0); iterator.hasNext();) {
			Asteroid asteroid = iterator.next();
			asteroid.update(delta);
			if(asteroid.getHP() <= 0){
				iterator.remove();
				if(asteroid.getScale()>0.5f)
				try {
					iterator.add(new Asteroid("mainSpriteSheet", "2DShader", 19, 43, 32, 30, (int)(asteroid.getScale()), asteroid.getX(), asteroid.getY(),
							new Vector2f(asteroid.getVelocityVector().x/2, asteroid.getVelocityVector().y*2)));
					iterator.add(new Asteroid("mainSpriteSheet", "2DShader", 19, 43, 32, 30, (int)(asteroid.getScale()), asteroid.getX(), asteroid.getY(),
							new Vector2f(asteroid.getVelocityVector().x*2, asteroid.getVelocityVector().y/2)));
				} catch (IOException e) {
					// TODO Auto-generated catch block
					e.printStackTrace();
				}
			}
		}
		
		player1.update(delta);
		
		for (Iterator<Bullet> iterator = bulletList.iterator(); iterator.hasNext();) {
			Bullet bullet = iterator.next();
			bullet.update(delta);
		    if (bullet.getDecayed())
		        iterator.remove();
		}
		
		PhysicsEngine.physicsUpdate(delta);
	}