All Packages Class Hierarchy This Package Previous Next Index
Class DopplerProgram.Radiator
java.lang.Object
|
+----java.lang.Thread
|
+----DopplerProgram.Radiator
- public class Radiator
- extends Thread
A class used to radiate RadiationWaves at a specific interval (300 ms)
independant of other threads and locations
-
RADIATOR_DELAY
-
-
Radiator(CelestialObject, RadiationWave[], int, int)
- Constructs a new Radiator thread that will radiate RadiationWave objects
for _galaxy.
-
run()
- starts the Radiator thread
RADIATOR_DELAY
public static final int RADIATOR_DELAY
Radiator
public Radiator(CelestialObject _galaxy,
RadiationWave _radiationWaveSet[],
int _adjustedGalaxyX,
int _adjustedGalaxyY)
- Constructs a new Radiator thread that will radiate RadiationWave objects
for _galaxy. _adjustedGalaxyX and _adjustedGalaxyY are to center the
radiation wave at the center of the _galaxy object.
run
public void run()
- starts the Radiator thread
- Overrides:
- run in class Thread
All Packages Class Hierarchy This Package Previous Next Index