|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ImageMap
Simple class to associate an Image with a Name.
Game
,
Battle
,
Monster
Constructor Summary | |
ImageMap(java.lang.String name,
java.awt.Image img)
Construct a new ImageMap with the name and Image specified. |
Method Summary | |
boolean |
equals(ImageMap im)
Determine Equality of this and the ImageMap im. |
boolean |
equals(java.lang.Object o)
Determine Equality of this and the Object o. |
boolean |
equals(java.lang.String s,
boolean front)
Determine Equality of this and the String specified. |
java.awt.Image |
getImage()
Gets the Image of this |
java.lang.String |
getName()
Gets the name of this Image |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ImageMap(java.lang.String name, java.awt.Image img)
name
- the name for the Imageimg
- the Image for this.Method Detail |
public java.awt.Image getImage()
public java.lang.String getName()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- the Object to compare
public boolean equals(ImageMap im)
public boolean equals(java.lang.String s, boolean front)
s
- the String to compare with this name, should not specify th -B or -F, only should be the name to search forfront
- true if opponent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |