private void DrawStructureRow(StructureController structureController, float yPosition) { bigCellRect.y = yPosition; cellRect.y = yPosition; tinyCellRect.y = yPosition; float x = 0; cellRect.x = x; PicNameStatusReusable pnr = new PicNameStatusReusable(structureController.matchingThing.name, structureController.matchingThing.iconTexture); pnr.Draw(cellRect, structureController.GetStatusTexture()); x += cellRect.width; tinyCellRect.x = x; pnr = new PicNameStatusReusable(structureController.GetStatusLabel(), structureController.GetStatusTexture()); pnr.Draw(tinyCellRect); x += tinyCellRect.width; cellRect.x = x; IconGroupReusable igr = structureController.GetIconGroup(); igr.Draw(cellRect); }