Class IsoMapSquareInfo


  • public class IsoMapSquareInfo
    extends java.lang.Object
    Provides information about isometric map squares.
    • Constructor Summary

      Constructors 
      Constructor Description
      IsoMapSquareInfo​(int xLen, int xLen2, int yLen, int yLen2)
      Creates a new instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getXLen()
      Returns the horizontal size of a square.
      int getXLen2()
      Returns the horizontal center of a square.
      int getYLen()
      Returns the vertical size of a square.
      int getYLen2()
      Returns the vertical center of a square.
      • Methods inherited from class java.lang.Object

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

      • IsoMapSquareInfo

        public IsoMapSquareInfo​(int xLen,
                                int xLen2,
                                int yLen,
                                int yLen2)
        Creates a new instance.
        Parameters:
        xLen - the horizontal size of a square
        xLen2 - the horizontal center of a square
        yLen - the vertical size of a square
        yLen2 - the vertical center of a square
    • Method Detail

      • getXLen

        public int getXLen()
        Returns the horizontal size of a square.
        Returns:
        the horizontal size
      • getXLen2

        public int getXLen2()
        Returns the horizontal center of a square.
        Returns:
        the horizontal center
      • getYLen

        public int getYLen()
        Returns the vertical size of a square.
        Returns:
        the vertical size
      • getYLen2

        public int getYLen2()
        Returns the vertical center of a square.
        Returns:
        the vertical center