public void handleCollisions(CollisionHandler... handlers)
	{
		for (int i = 0; i < size(); i++)
		{
			for (int j = 0; j < size(); j++)
			{
				if (i != j)
				{
					Sprite s1 = get(i);
					Sprite s2 = get(j);
					if (s1.intersects(s2))
					{
						Collision c = new Collision(s1, s2);
						Loader.addEventToAll(new SpriteCollisionEvent(c));
						for (CollisionHandler handler : handlers)
						{
							handler.collided(c);
						}
						s1.collidedWith(s2);
					}
				}
			}
		}
	}