C# 클래스 catan.Tile

파일 보기 프로젝트 열기: wargamer/Catan 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Neighbors Tile>.Dictionary
Number int
TileType TileType
id int

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
Tile ( TileType type ) : System
Tile ( TileType type, int number ) : System
addNeighbor ( Tile t, NeighborLocation loc ) : void
hasNeighbor ( NeighborLocation loc ) : System.Boolean

메소드 상세

Tile() 공개 메소드

public Tile ( TileType type ) : System
type TileType
리턴 System

Tile() 공개 메소드

public Tile ( TileType type, int number ) : System
type TileType
number int
리턴 System

addNeighbor() 공개 메소드

public addNeighbor ( Tile t, NeighborLocation loc ) : void
t Tile
loc NeighborLocation
리턴 void

hasNeighbor() 공개 메소드

public hasNeighbor ( NeighborLocation loc ) : System.Boolean
loc NeighborLocation
리턴 System.Boolean

프로퍼티 상세

Neighbors 공개적으로 프로퍼티

public Dictionary Neighbors
리턴 Tile>.Dictionary

Number 공개적으로 프로퍼티

public int Number
리턴 int

TileType 공개적으로 프로퍼티

public TileType TileType
리턴 TileType

id 공개적으로 프로퍼티

public int id
리턴 int