jurpe.system
Class CoreHandles

java.lang.Object
  extended by jurpe.system.CoreHandles
Direct Known Subclasses:
CoreCommands

public abstract class CoreHandles
extends java.lang.Object

Handles to other objects in the game.


Constructor Summary
CoreHandles()
           
 
Method Summary
 ICombat getCombat()
          Combat is the reference to active combat, if there is one.
 Dungeons getDungeon()
          Handle to dungeon
 HighScores getHighScores()
          Gets reference to High Scores Table
 Inn getInn()
          Handle to inn
 Log getLog()
          Handle to current log
 PCharacter getPC()
          Handle to character
 Shop getShop()
          Handle to Shop
 Skills getSkills()
          Handle to available Skills for this game
 TurnTable getTurnTable()
          Turn table is a metaphor for a table in which PCs and NPCs sit and play.
 boolean isPCgenerated()
          If a Playing Character has been generated
 OSProps operatingSystem()
          Handle to Operating System Properties
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CoreHandles

public CoreHandles()
Method Detail

getPC

public PCharacter getPC()
Handle to character

Returns:
current playing character

getDungeon

public Dungeons getDungeon()
Handle to dungeon

Returns:
Dungeon

getInn

public Inn getInn()
Handle to inn

Returns:
current Inn

getTurnTable

public TurnTable getTurnTable()
Turn table is a metaphor for a table in which PCs and NPCs sit and play.

Returns:
current turn table
See Also:
TurnTable

getCombat

public ICombat getCombat()
Combat is the reference to active combat, if there is one. To create a combat, select enterCombat... function.

Returns:
null if no combat is taking place, else a reference to Combat object

getHighScores

public HighScores getHighScores()
Gets reference to High Scores Table

Returns:
High Score Table

getLog

public Log getLog()
Handle to current log

Returns:
Log object

getSkills

public Skills getSkills()
Handle to available Skills for this game

Returns:
Livelli object
See Also:
Livelli

getShop

public Shop getShop()
Handle to Shop

Returns:
Shop object
See Also:
Shop

isPCgenerated

public boolean isPCgenerated()
If a Playing Character has been generated

Returns:
true if system has a valid Playing PCharacter reference

operatingSystem

public OSProps operatingSystem()
Handle to Operating System Properties

Returns:
OSProps object
See Also:
OSProps

Jurpe - Java Universal Role Playing Engine - http://jurpe.sourceforge.net