PlanRenderer is a monolithic class whose functionality is frustrating to extend. This is due, in part, to the fact that it has to update all of the different rendering layers by itself. These objects could, with relative ease, be shoved into their own classes.
PlanFacet would be a good name for the base class, the logic could be rolled into a subclass such as BuildingFacet and DesignationFacet.
It also is painful to fix the display because of how poorly the Hud class and the PlanRenderer class interface with each other.
PlanRenderer
is a monolithic class whose functionality is frustrating to extend. This is due, in part, to the fact that it has to update all of the different rendering layers by itself. These objects could, with relative ease, be shoved into their own classes.PlanFacet
would be a good name for the base class, the logic could be rolled into a subclass such asBuildingFacet
andDesignationFacet
.It also is painful to fix the display because of how poorly the
Hud
class and thePlanRenderer
class interface with each other.