Expand description
Epkard is a generalized framework for creating branching narratives.
Re-exports§
pub use Interrupt::*;
Macros§
- paragraphs
- A macro for creating sequential paragraph
Nodes
Structs§
- CliFrontend
- A frontend that uses stdin and stdout
- Paragraphs
Example - An example struct generated by the
paragraphs!macro. - 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.
- Runtime
Error - An error used by the
Runtime
Traits§
- Command
Names - 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
ControlResult - next
- Get a next
ControlResultwith the givenNode - run
- Run the narrative starting at the given
Nodeand state - run_
default - Run the narrative starting at the default
Nodeand state
Type Aliases§
- Control
- A type for controlling narrative flow of nodes
- Control
Result - A type for controlling narrative flow for non-node types
- Runtime
Result - A
Resulttype used by theRuntime