barsuift.simLife.j3d.universe.environment
Class BasicSun3D

java.lang.Object
  extended by java.util.Observable
      extended by barsuift.simLife.j3d.universe.environment.BasicSun3D
All Implemented Interfaces:
IObservable, Sun3D, java.util.Observer

public class BasicSun3D
extends java.util.Observable
implements java.util.Observer, Sun3D

Color change are notified to observers


Constructor Summary
BasicSun3D(Sun sun)
           
 
Method Summary
 javax.media.j3d.DirectionalLight getLight()
           
 Percent getWhiteFactor()
           
 void update(java.util.Observable o, java.lang.Object arg)
           
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface barsuift.simLife.IObservable
addObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers
 

Constructor Detail

BasicSun3D

public BasicSun3D(Sun sun)
Method Detail

update

public void update(java.util.Observable o,
                   java.lang.Object arg)
Specified by:
update in interface java.util.Observer

getWhiteFactor

public Percent getWhiteFactor()
Specified by:
getWhiteFactor in interface Sun3D

getLight

public javax.media.j3d.DirectionalLight getLight()
Specified by:
getLight in interface Sun3D


Copyright © 2010. All Rights Reserved.