public override void set_text_color(bool useable) { base.set_text_color(useable); string fontColor = useable ? "Blue" : "Grey"; Uses.SetColor(Global.Content, fontColor); Slash.SetColor(Global.Content, fontColor); Use_Max.SetColor(Global.Content, fontColor); }
public override void set_text_color(bool useable) { change_text_color(useable ? "White" : "Grey"); string color = useable ? "Blue" : "Grey"; Uses.SetColor(Global.Content, color); Slash.SetColor(Global.Content, color); Use_Max.SetColor(Global.Content, color); }
protected virtual void set_text_color(bool useable, bool buyable) { change_text_color(useable ? "White" : "Grey"); Uses.SetColor(Global.Content, useable ? "Blue" : "Grey"); Slash.SetColor(Global.Content, buyable ? "Blue" : "Grey"); Use_Max.SetColor(Global.Content, buyable ? "Blue" : "Grey"); Convoy.SetColor(Global.Content, "Blue"); }