| Constructor and Description |
|---|
AnimationModel()
Constructs an animation model.
|
| Modifier and Type | Method and Description |
|---|---|
void |
drawNewFrame(java.awt.Graphics2D graphics) |
int |
getWorldHeight() |
int |
getWorldWidth() |
void |
setWorldHeight(int worldHeight) |
void |
setWorldWidth(int worldWidth) |
public void drawNewFrame(java.awt.Graphics2D graphics)
drawNewFrame in interface Modelpublic int getWorldWidth()
getWorldWidth in interface Modelpublic void setWorldWidth(int worldWidth)
public int getWorldHeight()
getWorldHeight in interface Modelpublic void setWorldHeight(int worldHeight)