alice.kareltherobot
Class InvisibleCameraTarget
java.lang.Object
GalleryModel
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 |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 objectavenue
- 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 objectavenue
- the avenue on which to create the objectheight
- the height of the new object above the corner