Class FairyRingVertex

  • All Implemented Interfaces:
    Locatable, Vertex

    public class FairyRingVertex
    extends java.lang.Object
    implements Vertex
    • Constructor Detail

      • FairyRingVertex

        public FairyRingVertex​(@NonNull
                               @NonNull Coordinate position,
                               @NonNull
                               @NonNull FairyRing ring)
    • 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
      • step

        public boolean step​(java.util.Map<java.lang.String,​java.lang.Object> cache)
        Specified by:
        step in interface Vertex
      • getObject

        @Nullable
        public @Nullable GameObject getObject()
      • 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