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


Variable Index

 o RADIATOR_DELAY

Constructor Index

 o Radiator(CelestialObject, RadiationWave[], int, int)
Constructs a new Radiator thread that will radiate RadiationWave objects for _galaxy.

Method Index

 o run()
starts the Radiator thread

Variables

 o RADIATOR_DELAY
 public static final int RADIATOR_DELAY

Constructors

 o 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.

Methods

 o run
 public void run()
starts the Radiator thread

Overrides:
run in class Thread

All Packages  Class Hierarchy  This Package  Previous  Next  Index