public class MapData
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
int |
col
The column at which the map starts.
|
int |
depth
The map depth in rows.
|
int |
fields
The number of fields in the map.
|
int |
labels
The number of labelled fields in the map.
|
java.lang.String |
name
The name of the map.
|
int |
row
The row at which the map starts.
|
int |
width
The map width in columns.
|
Constructor and Description |
---|
MapData(int r,
int c,
int w,
int d,
int f,
int l)
Constructs a MapData object with the given information.
|
MapData(java.lang.String n,
int r,
int c,
int w,
int d,
int f,
int l)
Constructs a MapData object with the given information.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Returns true if the argument is a MapData object equivalent to this
one.
|
public int row
public int col
public int width
public int depth
public int fields
public int labels
public java.lang.String name
public MapData(int r, int c, int w, int d, int f, int l)
r
- rowc
- columnw
- width in columnsd
- depth in rowsf
- number of fieldsl
- number of labelled fieldspublic MapData(java.lang.String n, int r, int c, int w, int d, int f, int l)
n
- map namer
- rowc
- columnw
- width in columnsd
- depth in rowsf
- number of fieldsl
- number of labelled fieldspublic boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- an Object