[−][src]Crate epkard
Epkard is a generalized framework for creating branching narratives.
Re-exports
pub use Interrupt::*; |
Macros
paragraphs | A macro for creating sequential paragraph |
Structs
CliFrontend | A frontend that uses stdin and stdout |
ParagraphsExample | An example struct generated by the |
RunBuilder | A builder that runs the narrative when it is dropped |
Runtime | Wraps the basic state with extra information and functionality |
Enums
Color | Colors used for frontends |
Interrupt | A type for non-continuous narrative flow. |
RuntimeError | An error used by the |
Traits
CommandNames | Trait for listing command names |
Frontend | The frontend for a narrative that a user can interact with |
Node | A story node in a narrative. |
Functions
exit | Get an exit |
next | Get a next |
run | Run the narrative starting at the given |
run_default | Run the narrative starting at the default |
Type Definitions
Control | A type for controlling narrative flow of nodes |
ControlResult | A type for controlling narrative flow for non-node types |
RuntimeResult | A |
Derive Macros
Deserialize | |
Serialize |