simulation_SpriteVersion
Class BoringReverseWorld

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

public class BoringReverseWorld
extends java.lang.Object
implements GameWorldModel

This class encapsulates a boring world that consists of a single BasicSpriteReverse.

Author:
mb

Constructor Summary
BoringReverseWorld(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

BoringReverseWorld

public BoringReverseWorld(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