Methapolis
0.27
|
Public Member Functions | |
CityDimension (int width, int height) | |
int | hashCode () |
boolean | equals (Object obj) |
String | toString () |
Public Attributes | |
int | width |
int | height |
Encapsulates the width and height of a rectangular section of a Micropolis city.
Definition at line 14 of file CityDimension.java.
micropolisj.engine.CityDimension.CityDimension | ( | int | width, |
int | height | ||
) |
Definition at line 19 of file CityDimension.java.
References micropolisj.engine.CityDimension.height, and micropolisj.engine.CityDimension.width.
Referenced by micropolisj.engine.CityDimension.equals().
boolean micropolisj.engine.CityDimension.equals | ( | Object | obj | ) |
Definition at line 32 of file CityDimension.java.
References micropolisj.engine.CityDimension.CityDimension(), micropolisj.engine.CityDimension.height, and micropolisj.engine.CityDimension.width.
int micropolisj.engine.CityDimension.hashCode | ( | ) |
Definition at line 26 of file CityDimension.java.
References micropolisj.engine.CityDimension.height, and micropolisj.engine.CityDimension.width.
String micropolisj.engine.CityDimension.toString | ( | ) |
Definition at line 44 of file CityDimension.java.
References micropolisj.engine.CityDimension.height, and micropolisj.engine.CityDimension.width.
int micropolisj.engine.CityDimension.height |
Definition at line 17 of file CityDimension.java.
Referenced by micropolisj.engine.CityDimension.CityDimension(), micropolisj.engine.CityDimension.equals(), micropolisj.engine.CityDimension.hashCode(), and micropolisj.engine.CityDimension.toString().
int micropolisj.engine.CityDimension.width |
Definition at line 16 of file CityDimension.java.
Referenced by micropolisj.engine.CityDimension.CityDimension(), micropolisj.engine.CityDimension.equals(), micropolisj.engine.CityDimension.hashCode(), and micropolisj.engine.CityDimension.toString().