com.croftsoft.apps.sprite
Class FogNightUpdater

java.lang.Object
  extended by com.croftsoft.apps.sprite.FogNightUpdater
All Implemented Interfaces:
ComponentUpdater

public final class FogNightUpdater
extends Object
implements ComponentUpdater

Updates scene shading for fog and night and changes brick color.

Since:
2002-02-20
Version:
2002-12-05
Author:
David Wallace Croft

Constructor Summary
FogNightUpdater(ColorPainter fogNightPainter, ColorPainter brickColorPainter, int fullCyclePeriod, Clock clock)
           
 
Method Summary
 void reset()
           
 void update(JComponent component)
          Updates the state of a JComponent and calls repaint() as required.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FogNightUpdater

public FogNightUpdater(ColorPainter fogNightPainter,
                       ColorPainter brickColorPainter,
                       int fullCyclePeriod,
                       Clock clock)
Method Detail

reset

public void reset()

update

public void update(JComponent component)
Description copied from interface: com.croftsoft.core.animation.ComponentUpdater
Updates the state of a JComponent and calls repaint() as required.

Specified by:
update in interface ComponentUpdater

CroftSoft Javadoc

CroftSoft Apps Javadoc (2008-09-28 21:15:07)