net.cscott.sdr.anim
Class VenueState
java.lang.Object
com.jmex.game.state.GameState
com.jmex.game.state.BasicGameState
com.jmex.game.state.CameraGameStateDefaultCamera
com.jmex.game.state.CameraGameState
net.cscott.sdr.anim.VenueState
public class VenueState
- extends CameraGameState
The VenueState
is in charge of showing the background venue
and controlling the camera. (Maybe separate the camera into a separate
game state?). Eventually we may be able to instantiate multiple
VenueState
s and cross-fade between them to change venues.
VenueState
does not process any keyboard or mouse input.
- Version:
- $Id: VenueState.java,v 1.6 2007-03-07 19:17:20 cananian Exp $
- Author:
- C. Scott Ananian
Field Summary |
protected BeatTimer |
beatTimer
Music-synced timer. |
protected Timer |
timer
High resolution timer for tempo-independent animation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
timer
protected Timer timer
- High resolution timer for tempo-independent animation.
beatTimer
protected BeatTimer beatTimer
- Music-synced timer.
VenueState
public VenueState(BeatTimer beatTimer)
onCamera
public void onCamera()
stateUpdate
public void stateUpdate(float tpf)
- Overrides:
stateUpdate
in class CameraGameStateDefaultCamera
onActivate
protected void onActivate()
- Overrides:
onActivate
in class CameraGameState
initCamera
protected void initCamera()
- Overrides:
initCamera
in class CameraGameState
Copyright © 2006-2009 C. Scott Ananian