Beispiel #1
0
 public override void OnUpdate()
 {
     Events["DisplayResource"].active  = Events["DisplayResource"].guiActive = !ORSHeatMap.resourceIsDisplayed(resourceName);
     Events["DisplayResource"].guiName = "Display " + resourceName + " Heat Map";
     Events["HideResource"].active     = Events["HideResource"].guiActive = ORSHeatMap.resourceIsDisplayed(resourceName);
     Events["HideResource"].guiName    = "Hide " + resourceName + " Heat Map";
     ORSHeatMap.updatePlanetaryResourceMap();
 }
Beispiel #2
0
 public void HideResource()
 {
     ORSHeatMap.setDisplayedResource("");
 }
Beispiel #3
0
 public void DisplayResource()
 {
     ORSHeatMap.setDisplayedResource(resourceName);
 }