story.scheherazade.examples
Class StandardKnowledgeBase

java.lang.Object
  extended by story.scheherazade.examples.StandardKnowledgeBase

public class StandardKnowledgeBase
extends java.lang.Object

"Standard" Scheherazade knowledge base.


Constructor Summary
StandardKnowledgeBase(ProgressNotifier notifier)
           
 
Method Summary
 StoryTelling getKBInstructions()
          Generate a StoryTelling with "startup" StoryPoints to execute upon initialization.
 VirgilParams getParams()
          Returns Virgil parameters
 PlannerRepository getPlannerRepository()
          Get the repository of Verbalizer planners for serializing the various symbols
 java.awt.Image getPortrait(java.lang.String key)
          Get the portrait image for a paritcular character type
 StoryListener getStartupStoryListener()
          Get a StoryInterpreter with the appropriate declarations
 boolean portraitSet(java.lang.String key)
          Determines whether a portrait is set for a particular character type
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandardKnowledgeBase

public StandardKnowledgeBase(ProgressNotifier notifier)
                      throws Scheherexception
Throws:
Scheherexception
Method Detail

getKBInstructions

public StoryTelling getKBInstructions()
                               throws Scheherexception
Generate a StoryTelling with "startup" StoryPoints to execute upon initialization.

Throws:
Scheherexception

getStartupStoryListener

public StoryListener getStartupStoryListener()
                                      throws Scheherexception
Get a StoryInterpreter with the appropriate declarations

Throws:
Scheherexception

getPlannerRepository

public PlannerRepository getPlannerRepository()
                                       throws Scheherexception
Get the repository of Verbalizer planners for serializing the various symbols

Throws:
Scheherexception

portraitSet

public boolean portraitSet(java.lang.String key)
                    throws Scheherexception
Determines whether a portrait is set for a particular character type

Throws:
Scheherexception

getParams

public VirgilParams getParams()
                       throws Scheherexception
Returns Virgil parameters

Throws:
Scheherexception

getPortrait

public java.awt.Image getPortrait(java.lang.String key)
                           throws Scheherexception
Get the portrait image for a paritcular character type

Throws:
Scheherexception


Copyright © 2011 David K. Elson. All Rights Reserved.