Package games.stendhal.client
Class ZoneInfo
java.lang.Object
games.stendhal.client.ZoneInfo
General information about the current zone.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ZoneInfoget()Get the ZoneInfo instance.Get the color blend method.Get the zone specific color.voidsetSingleGlobalizedMusic(String musicName, float volume) Loops a sound with uniform volume that continues playing across zone changes.
-
Method Details
-
get
Get the ZoneInfo instance.- Returns:
- zone info
-
getColorMethod
Get the color blend method. Mode for applying the zone color to tile sets and entity sprites.- Returns:
- blend mode
-
getZoneColor
Get the zone specific color. This should be applied to tile sets and most entities using the zone blend method.- Returns:
- zone color
-
setSingleGlobalizedMusic
Loops a sound with uniform volume that continues playing across zone changes. Any currently playing instance will be stopped before starting a new one. Also, calling without parameters will stop current instance if playing.- Parameters:
name- Sound file basename. If value is `null` music will be stopped.volume- Volume level between 0.0 and 1.0.
-