Methapolis  0.27
 All Classes Namespaces Files Functions Variables Enumerator
micropolisj.engine.CityRect Class Reference

Public Member Functions

 CityRect ()
 CityRect (int x, int y, int width, int height)
boolean equals (Object obj)
String toString ()

Public Attributes

int x
int y
int width
int height

Detailed Description

Specifies a rectangular area in the city's coordinate space. This class is functionally equivalent to Java AWT's Rectangle class, but is portable to Java editions that do not contain AWT.

Definition at line 16 of file CityRect.java.

Constructor & Destructor Documentation

micropolisj.engine.CityRect.CityRect ( )

Definition at line 30 of file CityRect.java.

Referenced by micropolisj.engine.CityRect.equals().

micropolisj.engine.CityRect.CityRect ( int  x,
int  y,
int  width,
int  height 
)

Member Function Documentation

boolean micropolisj.engine.CityRect.equals ( Object  obj)
String micropolisj.engine.CityRect.toString ( )

Member Data Documentation


The documentation for this class was generated from the following file: