Class TutorialWorldFactory

java.lang.Object
edu.uky.cs.nil.tt.TutorialWorldFactory

public class TutorialWorldFactory extends Object
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 Details

    • main

      public static void main(String[] args) throws Exception
      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

      public static LogicalWorld makeWorld()
      Creates an example logical story world model from scratch, demonstrating how to use tools like the asset builder and describer.
      Returns:
      a small logical story world model