|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.huguesjohnson.tiamat.Area
com.huguesjohnson.tiamat.demos.Camineet.CDArea
CDArea - extension of the Area class with custom properties for this demo
| Field Summary |
| Fields inherited from class com.huguesjohnson.tiamat.Area |
absoluteDir |
| Constructor Summary | |
CDArea()
|
|
| Method Summary | |
java.awt.image.BufferedImage |
getBgImage()
Returns the background image for this CDArea. |
java.lang.String |
getBgImagePath()
Returns the relative path to the background image. |
java.lang.String |
getBgImagePathAbsolute()
Returns the absolute path to the background image. |
java.lang.String |
getBgMusicPath()
Returns the relative path to the background music. |
java.lang.String |
getBgMusicPathAbsolute()
Returns the absolute path to the background music. |
AreaExit[] |
getExits()
Retuns all the exits from this Area. |
ItemListEntry[] |
getItemList()
Returns a list of all the Items in the Area. |
java.awt.image.BufferedImage |
getOverlayImage()
Returns the overlay image for this CDArea. |
java.lang.String |
getOverlayImagePath()
Returns the relative path to the overlay image. |
java.lang.String |
getOverlayImagePathAbsolute()
Returns the absolute path to the overlay image. |
void |
onDeserialize(Formatter formatter,
java.lang.String absoluteDir)
The onDeserialize event should be fired after an object is de-serialized. |
void |
setBgImagePath(java.lang.String bgImagePath)
Sets the relative path to the background image. |
void |
setBgMusicPath(java.lang.String bgMusicPath)
Sets the relative path to the background music. |
void |
setExits(AreaExit[] exits)
Sets all the exits from this Area. |
void |
setItemList(ItemListEntry[] itemList)
Sets a list of all the Items in the Area. |
void |
setOverlayImagePath(java.lang.String overlayImagePath)
Sets the relative path to the overlay image. |
| Methods inherited from class com.huguesjohnson.tiamat.Area |
addCharacter, addLayer, getCharacter, getCharacterPaths, getCharacters, getLayer, getLayers, setAbsoluteDir, setCharacters, setLayers |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CDArea()
| Method Detail |
public AreaExit[] getExits()
public void setExits(AreaExit[] exits)
exits - All the exits from this Area.public ItemListEntry[] getItemList()
public void setItemList(ItemListEntry[] itemList)
itemList - The list of al the Items in the Area.public java.lang.String getBgMusicPath()
public void setBgMusicPath(java.lang.String bgMusicPath)
bgMusicPath - The relative path to the background music.public java.lang.String getBgMusicPathAbsolute()
public void setBgImagePath(java.lang.String bgImagePath)
bgImagePath - The relative path to the background image.public java.lang.String getBgImagePath()
public java.lang.String getBgImagePathAbsolute()
public java.awt.image.BufferedImage getBgImage()
public java.awt.image.BufferedImage getOverlayImage()
public void setOverlayImagePath(java.lang.String overlayImagePath)
public java.lang.String getOverlayImagePath()
public java.lang.String getOverlayImagePathAbsolute()
public void onDeserialize(Formatter formatter,
java.lang.String absoluteDir)
onDeserialize in interface StorableonDeserialize in class Areaformatter - the formatter to use to load any storable membersabsoluteDir - the working directory since all paths stored in the object should be relative
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||