mhframework.tilemap
Class MHMapCellAddress

java.lang.Object
  extended by mhframework.tilemap.MHMapCellAddress

public class MHMapCellAddress
extends java.lang.Object

Data storage class used to simplify the passing of map coordinates around as parameters. This class contains no methods, and therefore does no validation of the members. This decision was made partly to keep the class size as small as possible, and partly to maintain the greatest possible flexibility.


Field Summary
 int column
          The column of the map indicated by this address.
 int row
          The row of the map indicated by this address.
 
Constructor Summary
MHMapCellAddress()
           
MHMapCellAddress(int row, int column)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

row

public int row
The row of the map indicated by this address.


column

public int column
The column of the map indicated by this address.

Constructor Detail

MHMapCellAddress

public MHMapCellAddress(int row,
                        int column)

MHMapCellAddress

public MHMapCellAddress()