/* * void MySetCompHeatPusher() * { * ToolsBuilding.SetCompHeatPusher(parent, myMap, myDef); * } */ void ChangeComps() { //Tools.Warn("Trying to change comp: "+Tools.OkStr(SwitchIsOn), true); if (SwitchIsOn) { //Glower MySetCompGlower(); } else { //Glower MyUnsetCompGlower(); } //heat //MySetCompHeatPusher(); // gather ToolsBuilding.ToggleCompGatherSpot(parent, true, SwitchIsOn); //fire overlay SetFireOverlay(SwitchIsOn); //ToggleFireOverlay(); }
void MyUnsetCompHeatPusher() { ToolsBuilding.UnsetCompHeatPusher(parent, myMap); }
void SetFireOverlay(bool value = true) { ToolsBuilding.SetFireOverlay(parent, myMap, value); }
void ToggleFireOverlay() { ToolsBuilding.ToggleFireOverlay(parent, myMap); }
void MyUnsetCompGlower() { ToolsBuilding.SetCompGlower(parent, myMap, false); //ToolsBuilding.SetFlickableGlower(parent, myMap, false); }
void MySetCompGlower() { ToolsBuilding.SetCompGlower(parent, myMap, true); //ToolsBuilding.SetFlickableGlower(parent, myMap, true); }
void UpdateComps() { ToolsBuilding.ToggleCompGatherSpot(parent, true, SwitchIsOn); SetFireOverlay(SwitchIsOn); }