simulation_SpriteVersion
Class ChaosWorld

java.lang.Object
  extended by simulation_SpriteVersion.ChaosWorld
All Implemented Interfaces:
GameWorldModel

public class ChaosWorld
extends java.lang.Object
implements GameWorldModel

This class encapsulates a boring world that consists of a single BasicSprite. *

Author:
mb

Constructor Summary
ChaosWorld(int worldWidth, int worldHeight)
           
 
Method Summary
 void drawNewFrame(java.awt.Graphics2D graphics)
          Updates the data model to reflect whatever actions occur in the duration of one new frame.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChaosWorld

public ChaosWorld(int worldWidth,
                  int worldHeight)
Method Detail

drawNewFrame

public void drawNewFrame(java.awt.Graphics2D graphics)
Description copied from interface: GameWorldModel
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.

Specified by:
drawNewFrame in interface GameWorldModel
Parameters:
graphics - as described above