Interface SimThing

All Known Implementing Classes:
Ball

public interface SimThing

Basic interface for objects in the simple simulation world. Any object that implements this can be added to the simulation. CSE143 demo, Au01, Sp03

Version:
10/18/01, 4/16/03
Author:
Hal Perkins

Method Summary
 void action()
          Perform desired action for one simulation cycle.
 void paintComponent(java.awt.Graphics g)
          Draw graphical representation of this SimThing.
 

Method Detail

action

public void action()
Perform desired action for one simulation cycle.


paintComponent

public void paintComponent(java.awt.Graphics g)
Draw graphical representation of this SimThing.

Parameters:
g - Graphics context where the drawing should occur


Generated by BlueJ