Class Hue
java.lang.Object
net.risingworld.api.objects.visuals.Hue
-
Constructor Details
-
Hue
public Hue()
-
-
Method Details
-
set
public void set(float value) Sets the hue of the screen (between -180 and +180). To reset the value to the game default value, callreset()
- Parameters:
value
- a hue value between -180 and +180. Default value is 0.
-
reset
public void reset()Resets the effect, so it is no longer active (and no longer overrides any game effects). -
isOverridden
public boolean isOverridden()Determines if the effect is set.- Returns:
- true if this effect was set, false if not (or if it was reset).
-