Enum gomoku::board::tile::Tile
[−]
[src]
pub enum Tile { BLACK, WHITE, FREE, }
Variants
BLACK | ||
WHITE | ||
FREE |
Methods
impl Tile
fn from_str(s: &str) -> Tile
fn is_pawn(&self) -> bool
fn ennemy(&self) -> Tile
Return the tile of the ennemy if there is one, return the tile itself otherwise.