[−][src]Trait ggpf::game::GameBuilder
Game builders.
Associated Types
Loading content...Required methods
#[must_use]fn create<'life0, 'async_trait>(
&'life0 self,
starting: <Self::G as Game>::Player
) -> Pin<Box<dyn Future<Output = Self::G> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
starting: <Self::G as Game>::Player
) -> Pin<Box<dyn Future<Output = Self::G> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Create a new game starting for player starting
.
Implementors
impl GameBuilder for BreakthroughBuilder
[src]
type G = Breakthrough
fn create<'life0, 'async_trait>(
&'life0 self,
turn: Color
) -> Pin<Box<dyn Future<Output = Breakthrough> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
turn: Color
) -> Pin<Box<dyn Future<Output = Breakthrough> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
impl<GB> GameBuilder for WithHistoryGB<GB> where
GB::G: Clone + Sync + Send + 'static,
GB: GameBuilder + Send + Sync,
[src]
GB::G: Clone + Sync + Send + 'static,
GB: GameBuilder + Send + Sync,
type G = WithHistory<GB::G>
fn create<'life0, 'async_trait>(
&'life0 self,
starting: <Self::G as Game>::Player
) -> Pin<Box<dyn Future<Output = WithHistory<GB::G>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
starting: <Self::G as Game>::Player
) -> Pin<Box<dyn Future<Output = WithHistory<GB::G>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
impl<GB> GameBuilder for GB where
GB: SingleplayerGameBuilder,
[src]
GB: SingleplayerGameBuilder,
Single-player game builder is an instance of GameBuilder