simulation_InteractiveVersion.gameWorlds
Class BoringReverseWorld

java.lang.Object
  extended by simulation_InteractiveVersion.gameWorlds.GameWorldModel
      extended by simulation_InteractiveVersion.gameWorlds.BoringReverseWorld

public class BoringReverseWorld
extends GameWorldModel

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

Author:
mb

Field Summary
 
Fields inherited from class simulation_InteractiveVersion.gameWorlds.GameWorldModel
logger
 
Constructor Summary
BoringReverseWorld(int worldWidth, int worldHeight)
           
 
Method Summary
 void advanceNextState()
          Updates the data model to reflect whatever actions occur in the duration of one new frame.
 void drawCurrentState(java.awt.Graphics2D graphics)
           
 
Methods inherited from class simulation_InteractiveVersion.gameWorlds.GameWorldModel
addAnotherSprite, addListener, notifyModelHasChanged
 
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

advanceNextState

public void advanceNextState()
Description copied from class: 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.

Overrides:
advanceNextState in class GameWorldModel

drawCurrentState

public void drawCurrentState(java.awt.Graphics2D graphics)
Overrides:
drawCurrentState in class GameWorldModel