[][src]Trait codegame::GameProcessorStrategy

pub trait GameProcessorStrategy<G: Game>: Send {
    pub fn process_turn(
        &mut self,
        actions: HashMap<usize, G::Action>
    ) -> Vec<G::Event>

Notable traits for Vec<u8, Global>

impl Write for Vec<u8, Global>
;
pub fn game(&self) -> &G

Notable traits for &'_ mut R

impl<'_, R> Read for &'_ mut R where
    R: Read + ?Sized
impl<'_, W> Write for &'_ mut W where
    W: Write + ?Sized
impl<'_, F> Future for &'_ mut F where
    F: Unpin + Future + ?Sized
type Output = <F as Future>::Output;
;
pub fn finished(&self) -> bool; }

Required methods

pub fn process_turn(
    &mut self,
    actions: HashMap<usize, G::Action>
) -> Vec<G::Event>

Notable traits for Vec<u8, Global>

impl Write for Vec<u8, Global>
[src]

pub fn game(&self) -> &G

Notable traits for &'_ mut R

impl<'_, R> Read for &'_ mut R where
    R: Read + ?Sized
impl<'_, W> Write for &'_ mut W where
    W: Write + ?Sized
impl<'_, F> Future for &'_ mut F where
    F: Unpin + Future + ?Sized
type Output = <F as Future>::Output;
[src]

pub fn finished(&self) -> bool[src]

Loading content...

Implementors

impl<G: Game> GameProcessorStrategy<G> for Repeat<G>[src]

impl<G: Game> GameProcessorStrategy<G> for Standard<G>[src]

Loading content...