simulation_SpriteVersion
Interface GameWorldModel
- All Known Implementing Classes:
- BoringReverseWorld, BoringWorld, ChaosWorld, SkitteryWorld
public interface GameWorldModel
This interface encapsulates the definition of functionality for a data model
for a game world. Such data models consist of a collection of possibly types
of Sprites.
- Author:
- mb
Method Summary |
void |
drawNewFrame(java.awt.Graphics2D graphics)
Updates the data model to reflect whatever actions occur in the duration
of one new frame. |
drawNewFrame
void drawNewFrame(java.awt.Graphics2D graphics)
- Updates the data model to reflect whatever actions occur in the duration
of one new frame. Draws the game world on the passed Graphics2D instance.
- Parameters:
graphics
- as described above