public static void removeStateChange(int objectType, int objectX, int objectY, int objectHeight)
	{
		for (int index = 0; index < stateChanges.size(); index++)
		{
			StateObject so = stateChanges.get(index);
			if(so == null)
				continue;
			if((so.getX() == objectX && so.getY() == objectY && so.getHeight() == objectHeight) && so.getType() == objectType || so.getStatedObject() == objectType)
			{
				stateChanges.remove(index);
				break;
			}
		}
	}