[−][src]Trait tiny_rpg::helper::Builder
Associated Types
type product
Required methods
fn new() -> Self
fn build(self) -> Result<Self::product, BuilderError>
Implementors
impl Builder for SettingsBuilder
[src]
type product = Settings
fn new() -> SettingsBuilder
[src]
fn build(self) -> Result<Settings, BuilderError>
[src]
impl Builder for EntityBuilder
[src]
type product = Entity
fn new() -> EntityBuilder
[src]
Creates a new instance of EntityBuilder with some defaults. Still need to specify a position.
fn build(self) -> Result<Entity, BuilderError>
[src]
Creates an instance of Entity from EntityBuilder.