|
||||||||||
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
testing.gameEngine.cameraTesting.KeyMovingCameraController
public class KeyMovingCameraController
Constructor Summary | |
---|---|
KeyMovingCameraController(Position p,
Dimension viewableArea)
|
Method Summary | |
---|---|
void |
moveDown(DownInputEvent e)
|
void |
moveLeft(LeftInputEvent e)
|
void |
moveRight(RightInputEvent e)
|
void |
moveUp(UpInputEvent e)
|
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 KeyMovingCameraController(Position p, Dimension viewableArea)
Method Detail |
---|
public void moveDown(DownInputEvent e)
moveDown
in interface CameraMoveListener
public void moveLeft(LeftInputEvent e)
moveLeft
in interface CameraMoveListener
public void moveRight(RightInputEvent e)
moveRight
in interface CameraMoveListener
public void moveUp(UpInputEvent e)
moveUp
in interface CameraMoveListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |