Package games.stendhal.client.gui
Class LightningEffect
java.lang.Object
games.stendhal.client.LayerRenderer
games.stendhal.client.gui.EffectLayer
games.stendhal.client.gui.LightningEffect
An effect that flashes the screen for specified duration, using the event
strength attribute as the alpha value of the drawn flash.
-
Field Summary
Fields inherited from class games.stendhal.client.LayerRenderer
height, width
-
Constructor Summary
-
Method Summary
Methods inherited from class games.stendhal.client.gui.EffectLayer
draw, isExpired, setTileset
Methods inherited from class games.stendhal.client.LayerRenderer
getHeight, getWidth
-
Constructor Details
-
LightningEffect
public LightningEffect(int duration, int strength)
-
-
Method Details
-
drawScreen
-