Class PositionImpl

    • Field Detail

      • _posX

        protected int _posX
      • _posY

        protected int _posY
    • Constructor Detail

      • PositionImpl

        protected PositionImpl()
        Instantiates a new position impl.
      • PositionImpl

        public PositionImpl​(int aPosX,
                            int aPosY)
        Instantiates a new position impl.
        aPosX - the pos X
        aPosY - the pos Y
    • Method Detail

      • getPositionX

        public int getPositionX()
        Retrieves the X position from the X position property.
        Specified by:
        getPositionX in interface PosXAccessor
        The X position stored by the X position property.
      • getPositionY

        public int getPositionY()
        Retrieves the Y position from the Y position property.
        Specified by:
        getPositionY in interface PosYAccessor
        The Y position stored by the Y position property.
      • toString

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