Java Universal Role Playing Engine Version 0.3.9

jurpe.world
Class Inn

java.lang.Object
  extended by jurpe.world.Inn

public class Inn
extends java.lang.Object

The Inn is the place to rest.


Constructor Summary
Inn(int cPerHour)
          Constructor.
 
Method Summary
 int getCostPerHour()
          Return cost per hour in $
 int getCostPerNight()
          Get import due to pay the Inn fee.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Inn

public Inn(int cPerHour)
Constructor.

Parameters:
cPerHour - Cost per Hour in this Inn
See Also:
GameWorld
Method Detail

getCostPerHour

public int getCostPerHour()
Return cost per hour in $

Returns:
cost per hour

getCostPerNight

public int getCostPerNight()
Get import due to pay the Inn fee.

Returns:
fee to pay when done at the Inn

Java Universal Role Playing Engine Version 0.3.9

Copyright ? 2010 http://jurpe.sourceforge.net/ All Rights Reserved.