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 Model
public int getWorldWidth()
getWorldWidth
in interface Model
public void setWorldWidth(int worldWidth)
public int getWorldHeight()
getWorldHeight
in interface Model
public void setWorldHeight(int worldHeight)