QuestWeaver
A procedural quest generator
weave::StoryWriter Class Reference

#include <StoryWriter.h>

Public Member Functions

 StoryWriter (std::shared_ptr< RandomStream > randomStream, const QuestModel &questModel, const TemplateEngine &templateEngine, const WorldModel &worldModel, const Directories &dirs)
 
void ChangeDirectories (const Directories &newDirs)
 
Story CreateStory (const StoryWriterParameters &params) const
 
Story CreateStory (const StoryWriterParameters &params, std::string storyTemplateKey) const
 
void RegisterTemplateFactory (std::unique_ptr< StoryTemplateFactory > factory)
 

Detailed Description

Definition at line 43 of file StoryWriter.h.

Constructor & Destructor Documentation

weave::StoryWriter::StoryWriter ( std::shared_ptr< RandomStream randomStream,
const QuestModel &  questModel,
const TemplateEngine &  templateEngine,
const WorldModel worldModel,
const Directories dirs 
)
explicit

Member Function Documentation

void weave::StoryWriter::ChangeDirectories ( const Directories newDirs)
Story weave::StoryWriter::CreateStory ( const StoryWriterParameters params) const
Story weave::StoryWriter::CreateStory ( const StoryWriterParameters params,
std::string  storyTemplateKey 
) const
void weave::StoryWriter::RegisterTemplateFactory ( std::unique_ptr< StoryTemplateFactory factory)

The documentation for this class was generated from the following file: