vooga.examples.resource.clock
Class DropThis
java.lang.Object
com.golden.gamedev.Game
vooga.engine.core.Game
vooga.examples.resource.clock.DropThis
public class DropThis
- extends Game
Demonstrates how to initialize an OverlayClock, place
it somewhere on the screen, update, and render it. The code
required to actually make the game run without errors
is hacked together and should be ignored. Generally,
you should create your OverlayClock inside a GameState
rather than in the game class.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WIDTH
public static final int WIDTH
- See Also:
- Constant Field Values
HEIGHT
public static final int HEIGHT
- See Also:
- Constant Field Values
DropThis
public DropThis()
initResources
public void initResources()
- Overrides:
initResources
in class Game
update
public void update(long elapsedTime)
- Overrides:
update
in class Game
render
public void render(java.awt.Graphics2D g)
- Overrides:
render
in class Game
main
public static void main(java.lang.String[] args)