ballworld.view
Interface IModelUpdateAdapter


public interface IModelUpdateAdapter

This interface is used for repetitive, fast updating communications to the model such as those used in processing a repaint.

Author:
swong

Field Summary
static IModelUpdateAdapter NULL_ADAPTER
          A singleton null adapter used as a protective value before an operational adapter can be installed.
 
Method Summary
 void update(java.awt.Graphics g)
          Update the model, using the supplied Graphics object
 

Field Detail

NULL_ADAPTER

static final IModelUpdateAdapter NULL_ADAPTER
A singleton null adapter used as a protective value before an operational adapter can be installed.

Method Detail

update

void update(java.awt.Graphics g)
Update the model, using the supplied Graphics object

Parameters:
g - The Graphics object the balls will use to draw themselves.