|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjurpe.world.Inn
public class Inn
The Inn is the place to rest.
| Constructor Summary | |
|---|---|
Inn(int tLevel)
Constructor. |
|
Inn(int tLevel,
int cPerHour)
Constructor. |
|
| Method Summary | |
|---|---|
int |
getCostPerHour()
Return cost per hour in $ |
int |
getDueFee()
Get import due to pay the Inn fee. |
void |
restoreTime()
Usually you call this method after the character has successfully paid the fee. |
void |
spendTime(int minutes)
Add some minutes to the time spent by the character in this Inn. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Inn(int tLevel,
int cPerHour)
tLevel - Technology level of this worldcPerHour - Cost per Hour in this InnGameWorldpublic Inn(int tLevel)
tLevel - Technology level of this worldGameWorld| Method Detail |
|---|
public void spendTime(int minutes)
minutes - Minutes spent in the Innpublic int getCostPerHour()
public int getDueFee()
public void restoreTime()
|
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 | |||||||||