|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvooga.gameEngine.game.GameRelatedObject
vooga.gameEngine.controller.GameRelatedController
vooga.gameEngine.controller.CameraController
games.RobotUnicornAttack.controller.UnicornCamera
public class UnicornCamera
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 |
---|
public UnicornCamera(Position p, Dimension size)
Method Detail |
---|
public void positionChanged(PositionChangedEvent e)
PositionChangeListener
Tangible
object updates its position.
positionChanged
in interface PositionChangeListener
e
- the PositionChangedEvent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |