QuestWeaver
A procedural quest generator
|
#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 ¶ms) const |
Story | CreateStory (const StoryWriterParameters ¶ms, std::string storyTemplateKey) const |
void | RegisterTemplateFactory (std::unique_ptr< StoryTemplateFactory > factory) |
Definition at line 43 of file StoryWriter.h.
|
explicit |
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 | ) |