alice.kareltherobot
Class InvisibleCameraTarget

java.lang.Object
  extended by GalleryModel
      extended by alice.kareltherobot.InvisibleCameraTarget

public class InvisibleCameraTarget
extends GalleryModel

Has no visible representation in the world, but if you create one of these and add it to the world, your camera can follow it. Normally it is used to keep the camera focused on a corner while the camera moves.

Author:
Joseph Bergin

Constructor Summary
InvisibleCameraTarget(int street, int avenue)
          Create an invisible object at ground level at a corner
InvisibleCameraTarget(int street, int avenue, double height)
          Create an invisible object above or below a corner
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InvisibleCameraTarget

public InvisibleCameraTarget(int street,
                             int avenue)
Create an invisible object at ground level at a corner

Parameters:
street - the street on which to create the object
avenue - the avenue on which to create the object

InvisibleCameraTarget

public InvisibleCameraTarget(int street,
                             int avenue,
                             double height)
Create an invisible object above or below a corner

Parameters:
street - the street on which to create the object
avenue - the avenue on which to create the object
height - the height of the new object above the corner