public class MushPiece
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
MushPiece.Type |
Modifier and Type | Field and Description |
---|---|
int |
color |
Point |
colorPos |
double |
initialz |
double |
length |
double |
maxLength |
double |
minLength |
double |
negz |
double |
pieceRot |
double |
posRot |
double |
posz |
double |
rad |
double |
startLife |
MushPiece.Type |
type |
double |
yofs |
Constructor and Description |
---|
MushPiece() |
Modifier and Type | Method and Description |
---|---|
int |
getColor() |
Point |
getColorPos() |
double |
getColorPosX() |
double |
getColorPosY() |
double |
getColorPosZ() |
double |
getFps() |
int |
getFrame() |
double |
getLength() |
int |
getMindex() |
double |
getNegz() |
double |
getPieceRot() |
double |
getPosRot() |
double |
getPosz() |
double |
getRad() |
double |
getYofs() |
void |
setColor(int color) |
void |
setColorPos(Point colorPos) |
void |
setColorPosX(double x) |
void |
setColorPosY(double y) |
void |
setColorPosZ(double z) |
void |
setFps(double fps) |
void |
setFrame(int frame) |
void |
setLength(double length) |
void |
setMindex(int mindex) |
void |
setNegz(double negz) |
void |
setPieceRot(double pieceRot) |
void |
setPosRot(double posRot) |
void |
setPosz(double posz) |
void |
setRad(double rad) |
void |
setYofs(double yofs) |
public double negz
public double posz
public double yofs
public double rad
public double length
public double pieceRot
public double posRot
public int color
public Point colorPos
public double startLife
public double minLength
public double maxLength
public double initialz
public MushPiece.Type type
public double getFps()
public void setFps(double fps)
fps
- the fps to setpublic int getFrame()
public void setFrame(int frame)
frame
- the frame to setpublic int getMindex()
public void setMindex(int mindex)
mindex
- the mindex to setpublic double getRad()
public void setRad(double rad)
rad
- the rad to setpublic double getLength()
public void setLength(double length)
length
- the length to setpublic int getColor()
public void setColor(int color)
color
- the color to setpublic Point getColorPos()
public void setColorPos(Point colorPos)
colorPos
- the colorPos to setpublic double getNegz()
public void setNegz(double negz)
negz
- the negz to setpublic double getPosz()
public void setPosz(double posz)
posz
- the posz to setpublic double getYofs()
public void setYofs(double yofs)
yofs
- the yofs to setpublic double getPieceRot()
public void setPieceRot(double pieceRot)
pieceRot
- the pieceRot to setpublic double getPosRot()
public void setPosRot(double posRot)
posRot
- the posRot to setpublic double getColorPosX()
public void setColorPosX(double x)
public double getColorPosY()
public void setColorPosY(double y)
public double getColorPosZ()
public void setColorPosZ(double z)