|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjurpe.world.Location
public class Location
Describes a location.
| Constructor Summary | |
|---|---|
Location(LocationType loc)
Constructor |
|
| Method Summary | |
|---|---|
java.awt.Color |
getColor()
Get default color of location |
java.lang.String |
getDescription()
Get message to display when Avatar is on this location |
java.lang.String |
getEnterMessage()
Get message to display when Avatar enter this location |
LocationType |
getType()
Get type of location. |
void |
initLocation()
Init any location |
boolean |
isSpecial()
True if location is special. |
void |
setColor(java.awt.Color col)
Set color of this location |
void |
setMessage(java.lang.String message)
Set the message of this location |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Location(LocationType loc)
loc - LocationType A kind of location (ie: Inn, Shop, House...)| Method Detail |
|---|
public void initLocation()
public boolean isSpecial()
public java.awt.Color getColor()
public void setColor(java.awt.Color col)
col - Colorpublic LocationType getType()
LocationTypepublic void setMessage(java.lang.String message)
message - Message when user select this locationpublic java.lang.String getEnterMessage()
public java.lang.String getDescription()
public java.lang.String toString()
toString in class java.lang.Object
|
Jurpe - Java Universal Role Playing Engine - http://jurpe.sourceforge.net | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||