games.RobotUnicornAttack.controller
Class UnicornCamera

java.lang.Object
  extended by vooga.gameEngine.game.GameRelatedObject
      extended by vooga.gameEngine.controller.GameRelatedController
          extended by vooga.gameEngine.controller.CameraController
              extended by games.RobotUnicornAttack.controller.UnicornCamera
All Implemented Interfaces:
java.io.Serializable, java.util.EventListener, Tangible, PositionChangeListener

public class UnicornCamera
extends CameraController
implements PositionChangeListener

See Also:
Serialized Form

Constructor Summary
UnicornCamera(Position p, Dimension size)
           
 
Method Summary
 void positionChanged(PositionChangedEvent e)
          This is called whenever a Tangible object updates its position.
 
Methods inherited from class vooga.gameEngine.controller.CameraController
getBounds, getPosition, getRotation, getShape, getSize, getViewableArea, move, move, resize, rotate, setPosition, setRotation, setSize, setViewableArea
 
Methods inherited from class vooga.gameEngine.game.GameRelatedObject
addEventListener, clearListeners, equals, fire, fire, fire, getEventListeners, getID, getListenerCount, removeEventListener
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnicornCamera

public UnicornCamera(Position p,
                     Dimension size)
Method Detail

positionChanged

public void positionChanged(PositionChangedEvent e)
Description copied from interface: PositionChangeListener
This is called whenever a Tangible object updates its position.

Specified by:
positionChanged in interface PositionChangeListener
Parameters:
e - the PositionChangedEvent