public class LoadingScene extends Object implements Scene
Constructor and Description |
---|
LoadingScene()
LoadingScene without shadow painting |
LoadingScene(boolean drawShadow) |
Modifier and Type | Method and Description |
---|---|
EventListener[] |
getEventListeners()
Should return all
EventListener s that this scene want to register. |
void |
paintScene(Graphics2D g,
int width,
int height,
long elapsedTime)
Draw actual scene state
|
public LoadingScene()
LoadingScene
without shadow paintingpublic LoadingScene(boolean drawShadow)
public void paintScene(Graphics2D g, int width, int height, long elapsedTime)
Scene
paintScene
in interface Scene
g
- Graphics2D
object to draw onwidth
- Width of painting areaheight
- Height of painting areaelapsedTime
- Time since the last paintingpublic EventListener[] getEventListeners()
Scene
EventListener
s that this scene want to register.JPanel
for additional information.getEventListeners
in interface Scene
Copyright © 2017. All rights reserved.