|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--Named
|
+--Thing
Thing-luokka kuvaa pelin esineitä. Luokassa ei ole
juuri mitään toiminnallisuutta. Tarkoitus on myöhemmin luoda
aliluokkia.
| Constructor Summary | |
Thing(String n)
Luo esineen. |
|
| Method Summary | |
String |
toString()
Object luokan metodin uudelleen määritys. |
| Methods inherited from class Named |
getName |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Constructor Detail |
public Thing(String n)
n - esineen nimi.| Method Detail |
public String toString()
Object luokan metodin uudelleen määritys.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||