Struct gomoku::board::team::Team
[−]
[src]
pub struct Team { color: Tile, captured: u32, }
Fields
color | |
captured |
Methods
impl Team
fn new(color: Tile) -> Team
The new
constructor function returns the Team.
fn new_teams() -> (Team, Team)
Create all the teams of the game.