_repository library

Classes

DungeonWorldRepository
The main repository of Dungeon World data. This class contains all the data for the game, and is the main entry point for accessing it. You can switch locale using changeLocale and get the data for the current locale using the various getters.
RepositoryItem<T>
A repository containing game data separated by locale. This class represents a single item in the repository. All the localizations are stored in here, and you may use the various methods to access them, change the locale, or manipulate localized versions of data.
RepositoryMap<K, V>
A repository containing game data separated by locale. Use this to store data that is locale-specific, such as names, descriptions, etc.