@Override
	public void updateGame(int ticks)
	{
		final Iterator<Sprite> iterator = sprites.iterator();

		while (iterator.hasNext())
		{
			final Sprite s = iterator.next();
			if (s.isDead())
			{
				iterator.remove();
			}
		}

		for (final Sprite sprite : sprites)
		{
			sprite.runSpriteAI();
			sprite.updateSprite();
			for (final Sprite sprite1 : sprites)
			{
				if (sprite1 != sprite && sprite.intersects(sprite1))
				{
					sprite1.collidedWith(sprite);
				}
			}
		}
	}