|
TT Client Library 1.0.0
C++ library for Tandem Tales clients.
|
A story world is a collection of assets needed for two partners in a session to tell a collaborative story. More...
#include <tt/world/World.h>
Public Member Functions | |
| std::string | toString () const |
| Returns a string representation of this object. | |
| const std::vector< const Entity * > & | getEntities () const |
| Returns an unmodifiable list of all entities defined in this story world ordered by the ID numbers. | |
| const std::vector< const Variable * > & | getVariables () const |
| Returns an unmodifiable list of all variables defined in this story world ordered by the ID numbers. | |
| const std::vector< const Action * > & | getActions () const |
| Returns an unmodifiable list of all actions defined in this story world ordered by the ID numbers. | |
| const std::vector< const Ending * > & | getEndings () const |
| Returns an unmodifiable list of all endings defined in this story world ordered by the ID numbers. | |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const World &a) |
| Override stream insertion operator to allow printing the World class. | |
A story world is a collection of assets needed for two partners in a session to tell a collaborative story.
| const std::vector< const Action * > & tt::World::getActions | ( | ) | const |
Returns an unmodifiable list of all actions defined in this story world ordered by the ID numbers.
| const std::vector< const Ending * > & tt::World::getEndings | ( | ) | const |
Returns an unmodifiable list of all endings defined in this story world ordered by the ID numbers.
| const std::vector< const Entity * > & tt::World::getEntities | ( | ) | const |
Returns an unmodifiable list of all entities defined in this story world ordered by the ID numbers.
| const std::vector< const Variable * > & tt::World::getVariables | ( | ) | const |
Returns an unmodifiable list of all variables defined in this story world ordered by the ID numbers.
| std::string tt::World::toString | ( | ) | const |
Returns a string representation of this object.
|
friend |
Override stream insertion operator to allow printing the World class.
| os | an output stream to insert into |
| a | a reference to a world object |