C# Class catan.Tile

Mostrar archivo Open project: wargamer/Catan Class Usage Examples

Public Properties

Property Type Description
Neighbors Tile>.Dictionary
Number int
TileType TileType
id int

Private Properties

Property Type Description

Public Methods

Method Description
Tile ( TileType type ) : System
Tile ( TileType type, int number ) : System
addNeighbor ( Tile t, NeighborLocation loc ) : void
hasNeighbor ( NeighborLocation loc ) : System.Boolean

Method Details

Tile() public method

public Tile ( TileType type ) : System
type TileType
return System

Tile() public method

public Tile ( TileType type, int number ) : System
type TileType
number int
return System

addNeighbor() public method

public addNeighbor ( Tile t, NeighborLocation loc ) : void
t Tile
loc NeighborLocation
return void

hasNeighbor() public method

public hasNeighbor ( NeighborLocation loc ) : System.Boolean
loc NeighborLocation
return System.Boolean

Property Details

Neighbors public_oe property

public Dictionary Neighbors
return Tile>.Dictionary

Number public_oe property

public int Number
return int

TileType public_oe property

public TileType TileType
return TileType

id public_oe property

public int id
return int