|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectPrintGame.LoadLabyrinth
class representing a two dimensional labyrinth
| Field Summary | |
protected CreateLabyrinth |
create_labyrinth_
|
protected LabyrinthField |
labyrinth_field_
|
protected LabyrinthXMLContentHandler |
labyrinth_xml_content_handler_
|
protected int |
max_col_
the max number of cols max_col_=cols-1 |
protected int |
max_row_
the max number of rows max_row_=rows-1 |
| Constructor Summary | |
LoadLabyrinth(LoadLabyrinth lab)
|
|
LoadLabyrinth(java.lang.String filename,
java.net.URL document_base)
Standard constructor |
|
| Method Summary | |
java.lang.String |
getDiamondPicture()
|
LabyrinthField |
getLabyrinthField()
|
java.lang.String |
getRobotPicture()
|
java.lang.String |
getStartPicture()
|
java.lang.String |
getWallPicture()
|
java.lang.String |
getWayPicture()
|
boolean |
isStyle()
|
java.lang.String |
toString()
standard toString method for debugging |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected int max_row_
protected int max_col_
protected LabyrinthField labyrinth_field_
protected CreateLabyrinth create_labyrinth_
protected LabyrinthXMLContentHandler labyrinth_xml_content_handler_
| Constructor Detail |
public LoadLabyrinth(LoadLabyrinth lab)
public LoadLabyrinth(java.lang.String filename,
java.net.URL document_base)
throws java.lang.IllegalArgumentException
filename - name of the XML file to load
java.lang.IllegalArgumentException - if the specified file
can't be found| Method Detail |
public LabyrinthField getLabyrinthField()
public java.lang.String toString()
public boolean isStyle()
public java.lang.String getWallPicture()
public java.lang.String getWayPicture()
public java.lang.String getRobotPicture()
public java.lang.String getDiamondPicture()
public java.lang.String getStartPicture()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||