vooga.engine.overlay
Class Overlay

java.lang.Object
  extended by Sprite
      extended by vooga.engine.overlay.Overlay
Direct Known Subclasses:
OverlayBar, OverlayIcon, OverlayStatImage, OverlayString

public abstract class Overlay
extends Sprite

Generic Overlay class to be extended by any Overlay class that uses a Stat object to keep track of it's current value. To use the Overlay Creator any class that extends Overlay Must have a a constructor that takes in a Map and a OverlayTracker, and makes the Overlay. To be created with the OverlayCreator, the Overlay must have a constructor

public Overlay(Map<String, String> attributes, OverlayTracker tracker){ // code }


Constructor Summary
Overlay()
           
 
Method Summary
protected  void setLocation(java.util.Map<java.lang.String,java.lang.String> attributes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Overlay

public Overlay()
Method Detail

setLocation

protected void setLocation(java.util.Map<java.lang.String,java.lang.String> attributes)