jurpe.system
Class Core

java.lang.Object
  extended by jurpe.system.CoreHandles
      extended by jurpe.system.CoreCommands
          extended by jurpe.system.Core
All Implemented Interfaces:
java.io.Serializable

public final class Core
extends CoreCommands
implements java.io.Serializable

Contains references to every object in the game.

Author:
Alessio Saltarin
See Also:
GameWorld, CoreCommands, CoreHandles, PCharacter, Shop, Skills, Serialized Form

Constructor Summary
Core()
          Constructor.
 
Method Summary
 void createDungeon()
          Set dungeon related handles
 java.util.Random getRandomSeed()
          Get the unique random seed
 void init()
          Core initialization routines
 
Methods inherited from class jurpe.system.CoreCommands
addSkill, cancelCharacter, continueCombat, enterCombatWith, enterHighScore, executeCommand, firstAid, generateItem, generateMonster, generatePC, getImprovingSkillCost, getSkillCost, loadHighScores, loadPC, playerDies, saveHighScores, savePC, savePC
 
Methods inherited from class jurpe.system.CoreHandles
getCombat, getDungeon, getHighScores, getInn, getLog, getPC, getShop, getSkills, getTurnTable, isPCgenerated, operatingSystem
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Core

public Core()
     throws JurpeException
Constructor. Initialize system and related objects

Throws:
JurpeException
Method Detail

getRandomSeed

public java.util.Random getRandomSeed()
Get the unique random seed

Returns:
A random seed

createDungeon

public void createDungeon()
Set dungeon related handles


init

public void init()
          throws JurpeException
Core initialization routines

Throws:
JurpeException

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