private void MakePermaCache() { glowStrings = new string[101]; for (int i = 0; i <= 100; i++) { glowStrings[i] = GlowGrid.PsychGlowAtGlow((float)i / 100f).GetLabel() + " (" + ((float)i / 100f).ToStringPercent() + ")"; } }
public PsychGlow PsychGlowAt(IntVec3 c) { float glow = this.GameGlowAt(c, false); return(GlowGrid.PsychGlowAtGlow(glow)); }