public interface Scene
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
|
void paintScene(Graphics2D g, int width, int height, long elapsedTime)
g
- Graphics2D
object to draw onwidth
- Width of painting areaheight
- Height of painting areaelapsedTime
- Time since the last paintingEventListener[] getEventListeners()
EventListener
s that this scene want to register.JPanel
for additional information.Copyright © 2017. All rights reserved.