public class Volcano
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
double |
botRadius
The radius of the bottom of the Volcano
|
double |
height
height of the Volcano
|
Point |
pos
The Volcano's position in VolcanoWorld
|
double |
topRadius
The radius of the top of the Volcano
|
| Constructor and Description |
|---|
Volcano() |
| Modifier and Type | Method and Description |
|---|---|
void |
BounceSpew(VolcanoWorld w,
int i,
Spew sp,
double inc)
Bounce this Spew off of us, the volcano
|
public double height
public double topRadius
public double botRadius
public Point pos
public void BounceSpew(VolcanoWorld w, int i, Spew sp, double inc)
out - Unused, unneeded, unwanted.w - The world as we know it. Unused, unneeded, unwanted.i - Index into spew array. Unused, unneeded, unwanted.sp - The Spew to bounceinc - The amount of time that's elapsed since the last check