story.scheherazade.elements
Class AssignedGoal
java.lang.Object
story.scheherazade.elements.AssignedGoal
- All Implemented Interfaces:
- RenderableObject
public class AssignedGoal
- extends java.lang.Object
- implements RenderableObject
A Timeline that has been assigned as the Goal of a Character in a
State. Serves as a query result object for AssignedGoalParameters.
Includes the ID of the goal Timeline and the State or Transition.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AssignedGoal
public AssignedGoal(TimelineID goalTimeline,
NounName character,
NodeAddress stateNode,
StateTime assignedState)
- Constructor to use if the condition is in a State
AssignedGoal
public AssignedGoal(TimelineID goalTimeline,
NounName character,
NodeAddress stateNode,
TransitionTime assignedTransition)
- Constructor to use if the condition begins in a Transition
renderForHumans
public java.lang.StringBuffer renderForHumans()
throws Scheherexception
- Throws:
Scheherexception
render
public java.lang.StringBuffer render()
throws Scheherexception
- Specified by:
render
in interface RenderableObject
- Throws:
Scheherexception
getGoalTimeline
public TimelineID getGoalTimeline()
getCharacter
public NounName getCharacter()
getState
public StateTime getState()
throws Scheherexception
- Throws:
Scheherexception
getTransition
public TransitionTime getTransition()
throws Scheherexception
- Throws:
Scheherexception
Copyright © 2011 David K. Elson. All Rights Reserved.