private void interpretObjectGroup (ObjectGroup objectGroup) { TiledObject[] objects = objectGroup.TiledObject; if (objects == null) { Console.WriteLine("Error: object layer is empty"); return; } for (int i = 0; i < objects.Length; i++) { interpretObject(objects[i]); } }
//interpreting an object group private void interpretObjectGroup(ObjectGroup objectGroup) { SingleObject[] objects = objectGroup.singleobject; for (int i = 0; i < objects.Length; i++) { interpretObject(objects[i]); } }