private void renderRoom(IRoom room) { List <IObject> displayList = getDisplayList(room); SortDebugger.DebugIfNeeded(displayList); foreach (IObject obj in displayList) { renderObject(room, obj); } }
private void onBeforeRenderingDisplayList(DisplayListEventArgs args) { SortDebugger.DebugIfNeeded(args.DisplayList); _lastDisplayList = args.DisplayList; }