cs015.SP
Class RainUpdateBehavior

java.lang.Object
  extended byNGP.Timer
      extended bycs015.SP.RainUpdateBehavior
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener

public class RainUpdateBehavior
extends Timer

Calls update on the RainDropShape every time it activates.

Author:
Matt Chotin (mhc)

Constructor Summary
RainUpdateBehavior(RainDropShape r)
           
 
Method Summary
 void activate()
          Call update on the raindrop
 
Methods inherited from class NGP.Timer
actionPerformed, getDelay, setDelay, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RainUpdateBehavior

public RainUpdateBehavior(RainDropShape r)
Method Detail

activate

public void activate()
Call update on the raindrop