public class UserInterface
extends Object
Modifier and Type | Method and Description |
---|---|
bool |
trIsGadgetVisible(string gadget)
Returns true if gadget is real
|
void |
trRenderSky(bool on,
string skyName)
Turn sky rendering on/off and set which sky to use...
|
void |
trRenderSnow(float percent)
Controls snow rendering.
|
void |
trSetObscuredUnits(bool b)
Sets whether or not units can be drawn obscured or not.
|
void |
trUIFadeToColor(int r,
int g,
int b,
int durationMS,
int delayMS,
bool inout)
Fade in/out using color specified.
|
void |
trUIFlash(string gadgetName,
bool flash)
Flashes a UI element (maybe).
|
void |
trUIFlashCategory(int category,
bool flash)
Flashes a UI element (maybe).
|
void |
trUIFlashTech(int techID,
bool flash)
Flashes a UI element (maybe).
|
void |
trUIFlashTrain(string protoName,
bool flash)
Flashes a UI element (maybe).
|
public void trSetObscuredUnits(bool b)
public void trRenderSky(bool on, string skyName)
public void trRenderSnow(float percent)
public void trUIFadeToColor(int r, int g, int b, int durationMS, int delayMS, bool inout)
public void trUIFlashTrain(string protoName, bool flash)
public void trUIFlashTech(int techID, bool flash)
public void trUIFlashCategory(int category, bool flash)