public class TileSize
extends java.lang.Object
Constructor and Description |
---|
TileSize(int width,
int height)
Creates a size with the given width and height.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
getHeight() |
int |
getWidth() |
int |
hashCode() |
java.lang.String |
toString() |
public TileSize(int width, int height)
public int getWidth()
public int getHeight()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object