Package net.sf.gridarta.model.gameobject
Class IsoMapSquareInfo
- java.lang.Object
-
- net.sf.gridarta.model.gameobject.IsoMapSquareInfo
-
public class IsoMapSquareInfo extends java.lang.ObjectProvides 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 intgetXLen()Returns the horizontal size of a square.intgetXLen2()Returns the horizontal center of a square.intgetYLen()Returns the vertical size of a square.intgetYLen2()Returns 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
-
-