Class CubicleWorld


  • public class CubicleWorld
    extends java.lang.Object
    • Constructor Detail

      • CubicleWorld

        public CubicleWorld​(Vector3i pNumberOfAtoms)
      • CubicleWorld

        public CubicleWorld​(int pNumberOfXAtoms,
                            int pNumberOfYAtoms,
                            int pNumberOfZAtoms)
    • Method Detail

      • update

        public void update()
      • getLocalEntities

        public java.util.ArrayList<ICubicleEntity> getLocalEntities​(processing.core.PVector pPosition)
      • getLocalEntities

        public java.util.ArrayList<ICubicleEntity> getLocalEntities​(processing.core.PVector pPosition,
                                                                    int pExtraRadius)
      • getLocalEntities

        public java.util.ArrayList<ICubicleEntity> getLocalEntities​(processing.core.PVector pPosition,
                                                                    int pXRadius,
                                                                    int pYRadius,
                                                                    int pZRadius)
      • getLocalEntities

        public java.util.ArrayList<ICubicleEntity> getLocalEntities​(ICubicleEntity pEntity,
                                                                    int pXRadius,
                                                                    int pYRadius,
                                                                    int pZRadius)
      • worldposition2index

        public Vector3i worldposition2index​(processing.core.PVector pPosition)
      • getAtom

        public CubicleAtom getAtom​(int pX,
                                   int pY,
                                   int pZ)
      • getAtoms

        public java.util.ArrayList<CubicleAtom> getAtoms​(int pX,
                                                         int pY,
                                                         int pZ,
                                                         int pXRadius,
                                                         int pYRadius,
                                                         int pZRadius)
      • cellscale

        public processing.core.PVector cellscale()
      • getEntities

        public java.util.ArrayList<ICubicleEntity> getEntities()
      • getOffWorldAtom

        public CubicleAtom getOffWorldAtom()
      • removeAll

        public void removeAll()