[−][src]Trait ggpf::policies::DynMultiplayerPolicyBuilder
A dynamic policy builder.
Required methods
fn create(
&self,
color: T::Player
) -> Box<dyn MultiplayerPolicy<T> + Send + Sync + 'a>
&self,
color: T::Player
) -> Box<dyn MultiplayerPolicy<T> + Send + Sync + 'a>
Initializes a new policy instance for player color
, but dynamically.
Implementors
impl<'a, G, PB> DynMultiplayerPolicyBuilder<'a, G> for PB where
G: Game,
PB: MultiplayerPolicyBuilder<G>,
PB::P: 'a + Send + Sync,
[src]
G: Game,
PB: MultiplayerPolicyBuilder<G>,
PB::P: 'a + Send + Sync,
Converts a static policy builder to a dynamic one.