Class CubicleEntity

    • Constructor Summary

      Constructors 
      Constructor Description
      CubicleEntity()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Vector3i cubicle()
      get reference to the cubicle id
      boolean isActive()
      entities can be temporarily removed from the process of being updated by the world.
      boolean leaving​(int pX, int pY, int pZ)
      returns true if the new position don t match the previously stored position
      processing.core.PVector position()
      get reference to position vector
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CubicleEntity

        public CubicleEntity()
    • Method Detail

      • position

        public processing.core.PVector position()
        Description copied from interface: ICubicleEntity
        get reference to position vector
        Specified by:
        position in interface ICubicleEntity
        Returns:
        position
      • leaving

        public boolean leaving​(int pX,
                               int pY,
                               int pZ)
        Description copied from interface: ICubicleEntity
        returns true if the new position don t match the previously stored position
        Specified by:
        leaving in interface ICubicleEntity
        Parameters:
        pX - x
        pY - y
        pZ - z
        Returns:
        returns true if the new position don t match the previously stored position
      • isActive

        public boolean isActive()
        Description copied from interface: ICubicleEntity
        entities can be temporarily removed from the process of being updated by the world.
        Specified by:
        isActive in interface ICubicleEntity
        Returns:
        returns active state