vooga.engine.overlay
Class OverlayLabel

java.lang.Object
  extended by Sprite
      extended by vooga.engine.overlay.OverlayLabel

public class OverlayLabel
extends Sprite

Takes an OverlayString and places it over the top of another Sprite. It constantly updates the position in case the Sprite moves around. This could be used to display a player's name above his character.


Constructor Summary
OverlayLabel(Sprite sprite, OverlayString overlayString)
           
 
Method Summary
 void act()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OverlayLabel

public OverlayLabel(Sprite sprite,
                    OverlayString overlayString)
Method Detail

act

public void act()