Expand description
§lib_efo
The engine that drives Epoch Forge. It contains a pure, representation of a fantasy world and all the logic needed to manipulate it.
All public types implement serde::Serialize / Deserialize so that they can
be persisted easily. The World struct also offers a convenient
World::load() / World::save() API that uses the default JSON file
Modules§
- entity
- Entity System
- epoch
- Epoch configuration and state
- error
- Error types that arise when interacting with the storage layer.
- naming
- Autonaming generator Supposed to be loaded with the world if needed
- stats
- Module that holds all statistics for an entity and the helper methods that operate on them.
- utils
- Utilities asserting that the data being worked on is sound and well formatted.
Macros§
- io_
err_ with_ help - Helper macro to convert a
std::io::Errorinto anEpochError::Iowith an attached help message. - items_
table - Build a table with the exact border / separator style you posted and return the rendered string.
- thin_
newtype - Thin wrapper that derefs to the inner type.
Traits§
- Displayable
- A trait for types that can be displayed in a command-line tool.