Class GuideImpl

  • All Implemented Interfaces:
    Guide, java.io.Serializable

    public class GuideImpl
    extends java.lang.Object
    implements java.io.Serializable, Guide
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      GuideImpl()  
    • Constructor Detail

      • GuideImpl

        public GuideImpl()
    • Method Detail

      • getId

        public int getId()
        Description copied from interface: Guide
        Gets the id.
        Specified by:
        getId in interface Guide
        Returns:
        the id
      • setId

        public void setId​(int id)
        Description copied from interface: Guide
        Sets the id.
        Specified by:
        setId in interface Guide
        Parameters:
        id - the new id
      • getDirection

        public Direction getDirection()
        Description copied from interface: Guide
        Gets the direction.
        Specified by:
        getDirection in interface Guide
        Returns:
        the direction
      • setDirection

        public void setDirection​(Direction direction)
        Description copied from interface: Guide
        Sets the direction.
        Specified by:
        setDirection in interface Guide
        Parameters:
        direction - the new direction
      • getX

        public double getX()
        Description copied from interface: Guide
        Gets the x.
        Specified by:
        getX in interface Guide
        Returns:
        the x
      • setX

        public void setX​(double x)
        Description copied from interface: Guide
        Sets the x.
        Specified by:
        setX in interface Guide
        Parameters:
        x - the new x
      • getY

        public double getY()
        Description copied from interface: Guide
        Gets the y.
        Specified by:
        getY in interface Guide
        Returns:
        the y
      • setY

        public void setY​(double y)
        Description copied from interface: Guide
        Sets the y.
        Specified by:
        setY in interface Guide
        Parameters:
        y - the new y
      • isShort

        public boolean isShort()
        Description copied from interface: Guide
        Checks if is short.
        Specified by:
        isShort in interface Guide
        Returns:
        true, if is short
      • setShort

        public void setShort​(boolean isShort)
        Description copied from interface: Guide
        Sets the short.
        Specified by:
        setShort in interface Guide
        Parameters:
        isShort - the new short
      • getColor

        public java.lang.String getColor()
        Description copied from interface: Guide
        Gets the color.
        Specified by:
        getColor in interface Guide
        Returns:
        the color
      • setColor

        public void setColor​(java.lang.String color)
        Description copied from interface: Guide
        Sets the color.
        Specified by:
        setColor in interface Guide
        Parameters:
        color - the new color
      • getOrigin

        public Origin getOrigin()
        Description copied from interface: Guide
        Gets the origin.
        Specified by:
        getOrigin in interface Guide
        Returns:
        the origin
      • setOrigin

        public void setOrigin​(Origin origin)
        Description copied from interface: Guide
        Sets the origin.
        Specified by:
        setOrigin in interface Guide
        Parameters:
        origin - the new origin