Class TutorialWorldFactory
java.lang.Object
edu.uky.cs.nil.tt.TutorialWorldFactory
A example of how to create a
logical story world model.
This example produces a small story world model that can teach players the
basic features of Tandem Tales.- Author:
- Stephen G. Ware
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidCreates the example logical story world, serializes it to file, and prints a description of the world.static LogicalWorldCreates an examplelogical story world modelfrom scratch, demonstrating how to use tools like theasset builderanddescriber.
-
Method Details
-
main
Creates the example logical story world, serializes it to file, and prints a description of the world.- Parameters:
args- Java command line arguments, ignored- Throws:
Exception- if a problem occurs when creating the story world or writing it to file
-
makeWorld
Creates an examplelogical story world modelfrom scratch, demonstrating how to use tools like theasset builderanddescriber.- Returns:
- a small logical story world model
-