public static StateObject getStateObject(int objectX, int objectY, int objectHeight, int objectId)
	{
		for (StateObject so : stateChanges)
		{
			if(so == null)
				continue;
			if(so.getHeight() != objectHeight)
				continue;
			if(so.getStatedObject() == objectId && so.getX() == objectX && so.getY() == objectY)
				return so;
		}
		return null;
	}