public class Spew
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
int |
debugType
For debugging, we want to change this guys type so we can spot him easier
|
protected int |
frame
Database keys
|
Point |
pos
The current position of this spew
|
double |
rad
The radius of this spew
|
protected int |
sindex |
double |
startTime
What time should this spew start erupting?
|
int |
type
The type (1 of 10 colors)
|
Point |
vel
The current velocity of this spew.
|
Constructor and Description |
---|
Spew()
Creates a new instance of Spew
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
clone()
clone our spew
|
double |
getFps() |
int |
getFrame() |
int |
getSindex() |
double |
getX() |
double |
getY() |
double |
getZ() |
void |
setFps(double fps) |
void |
setFrame(int frame) |
void |
setSindex(int sindex) |
void |
setX(double x) |
void |
setY(double y) |
void |
setZ(double z) |
protected int frame
protected int sindex
public Point pos
public double rad
public double startTime
public Point vel
public int type
public int debugType
protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
- whatever.public int getFrame()
public void setFrame(int frame)
frame
- the frame to setpublic int getSindex()
public void setSindex(int sindex)
sindex
- the spew index to setpublic double getFps()
public void setFps(double fps)
fps
- the fps to setpublic double getX()
public double getY()
public double getZ()
public void setX(double x)
public void setY(double y)
public void setZ(double z)