Public Member Functions | |
| void | setCamera (Camera camera) |
| boolean | hasCamera () |
| void | update (World world) |
Interface for controllers that control the camera.
Definition at line 11 of file CameraController.java.
| boolean bubolo.graphics.CameraController.hasCamera | ( | ) |
Returns true if this controller has a reference to the camera, or false otherwise.
Implemented in bubolo.graphics.TankCameraController.
| void bubolo.graphics.CameraController.setCamera | ( | Camera | camera | ) |
Sets a reference to the camera. The camera must be set before calling the update method.
| camera | reference to the camera. |
Implemented in bubolo.graphics.TankCameraController.
|
inherited |
Allows the controller to perform its processing. Called once per game tick.
| world | reference to the World/Model object. |
Implemented in bubolo.graphics.TankCameraController.
1.8.6