Trait Player

Source
pub trait Player {
    type Ident;

    // Required methods
    fn ident(&self) -> &Self::Ident;
    fn location(&self) -> &Point;
}

Required Associated Types§

Required Methods§

Source

fn ident(&self) -> &Self::Ident

Source

fn location(&self) -> &Point

Implementors§