Class Field

  • All Implemented Interfaces:
    Cloneable

    public final class Field
    extends Object
    implements Cloneable
    Represents a field (e.g. Shield, O2)
    • Constructor Detail

      • Field

        protected Field()
      • Field

        public Field​(CoordI2 dimension)
    • Method Detail

      • clean

        public void clean()
      • rotate

        public void rotate​(Edge2 direction)
      • isDirty

        public boolean isDirty()
      • setDirty

        public void setDirty​(boolean dirty)
      • isPointsDirty

        public boolean isPointsDirty()
      • setPointsDirty

        public void setPointsDirty​(boolean pointsDirty)
      • setEntityGroups

        public void setEntityGroups​(Matrix2<Integer> entityGroups)
      • 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)
      • setFieldEmitterMode

        public void setFieldEmitterMode​(FieldEmitterMode fieldEmitterMode)
      • isMix

        public boolean isMix()
      • setMix

        public void setMix​(boolean mix)