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
Method Summary |
void |
update(java.awt.Graphics g)
Update the model, using the supplied Graphics object |
NULL_ADAPTER
static final IModelUpdateAdapter NULL_ADAPTER
- A singleton null adapter used as a protective value before an operational adapter can be installed.
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.