public HeatScale(Specializer spec) { cold = (Color) spec.getMap().get("cold").getValue(); hot = (Color) spec.getMap().get("hot").getValue(); }