Class Field
- java.lang.Object
-
- de.extio.spacecraft.shared.model.bo.Field
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clean()
Object
clone()
int
getColorB()
int
getColorG()
int
getColorR()
Matrix2<Integer>
getEntityGroups()
Matrix2<FieldPoint>
getField()
double
getFieldDecayMin()
double
getFieldDecayPerc()
int
getFieldEffectCorner()
FieldEmitterMode
getFieldEmitterMode()
UUID
getFieldType()
List<FieldRequest>
getRequests()
boolean
isDirty()
boolean
isMix()
boolean
isPointsDirty()
void
rotate(Edge2 direction)
void
setColorB(int colorB)
void
setColorG(int colorG)
void
setColorR(int colorR)
void
setDirty(boolean dirty)
void
setEntityGroups(Matrix2<Integer> entityGroups)
void
setFieldDecayMin(double fieldDecayMin)
void
setFieldDecayPerc(double fieldDecayPerc)
void
setFieldEffectCorner(int fieldEffectCorner)
void
setFieldEmitterMode(FieldEmitterMode fieldEmitterMode)
void
setFieldType(UUID fieldType)
void
setMix(boolean mix)
void
setPointsDirty(boolean pointsDirty)
-
-
-
Constructor Detail
-
Field
protected Field()
-
Field
public Field(CoordI2 dimension)
-
-
Method Detail
-
clone
public Object clone() throws CloneNotSupportedException
- Overrides:
clone
in classObject
- Throws:
CloneNotSupportedException
-
clean
public void clean()
-
rotate
public void rotate(Edge2 direction)
-
getField
public Matrix2<FieldPoint> getField()
-
isDirty
public boolean isDirty()
-
setDirty
public void setDirty(boolean dirty)
-
isPointsDirty
public boolean isPointsDirty()
-
setPointsDirty
public void setPointsDirty(boolean pointsDirty)
-
getFieldType
public UUID getFieldType()
-
setFieldType
public void setFieldType(UUID fieldType)
-
getColorR
public int getColorR()
-
setColorR
public void setColorR(int colorR)
-
getColorG
public int getColorG()
-
setColorG
public void setColorG(int colorG)
-
getColorB
public int getColorB()
-
setColorB
public void setColorB(int colorB)
-
getFieldEffectCorner
public int getFieldEffectCorner()
-
setFieldEffectCorner
public void setFieldEffectCorner(int fieldEffectCorner)
-
getFieldDecayPerc
public double getFieldDecayPerc()
-
setFieldDecayPerc
public void setFieldDecayPerc(double fieldDecayPerc)
-
getFieldDecayMin
public double getFieldDecayMin()
-
setFieldDecayMin
public void setFieldDecayMin(double fieldDecayMin)
-
getRequests
public List<FieldRequest> getRequests()
-
getFieldEmitterMode
public FieldEmitterMode getFieldEmitterMode()
-
setFieldEmitterMode
public void setFieldEmitterMode(FieldEmitterMode fieldEmitterMode)
-
isMix
public boolean isMix()
-
setMix
public void setMix(boolean mix)
-
-