Class TeleportVertex

    • Constructor Detail

      • TeleportVertex

        public TeleportVertex​(@NonNull
                              @NonNull Coordinate position)
    • Method Detail

      • getPosition

        @NonNull
        public @NonNull Coordinate getPosition()
        Description copied from interface: Locatable
        The exact coordinate position of this entity on the world-graph
        Specified by:
        getPosition in interface Locatable
        Returns:
        The coordinate position, or null if unavailable
      • getArea

        @Nullable
        public Area.Rectangular getArea()
        Description copied from interface: Locatable
        The coordinate area occupied on the world-graph
        Specified by:
        getArea in interface Locatable
        Specified by:
        getArea in interface Vertex
        Returns:
        The coordinate area, or null if unavailable
      • scan

        public ScanResult scan​(java.util.Map<java.lang.String,​java.lang.Object> cache)
        Specified by:
        scan in interface Vertex
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object