CSE115.Gumball
Class GumballFallingBehavior
java.lang.Object
NGP.Timer
CSE115.Gumball.GumballFallingBehavior
- All Implemented Interfaces:
- ActionListener, EventListener
- public class GumballFallingBehavior
- extends Timer
Calls update on the Gumball every time it activates.
- Author:
- Carl Alphonce (alphonce)
Based heavily on the cs015.SP.RainUpdateBehavior class, authored by:, Matt Chotin (mhc)
|
Method Summary |
void |
activate()
Call update on the gumball |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GumballFallingBehavior
public GumballFallingBehavior(Gumball r)
activate
public void activate()
- Call update on the gumball