C# 클래스 MingStar.SimUniversity.Board.Board

상속: IBoard
파일 보기 프로젝트 열기: MingStar/SimUniversity 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
_edges ReadOnlyCollection
_hexagons HashSet
_hexgonPositions Hexagon>.Dictionary
_id2HexgonMap List>.Dictionary
_vertices ReadOnlyCollection

공개 메소드들

메소드 설명
BuildCampus ( Vertex vertex, CampusType type, System.Color color ) : void
BuildLink ( Edge side, System.Color color ) : void
Clear ( ) : void
GetEdges ( ) : IEnumerable
GetHexagons ( ) : MingStar.SimUniversity.Board.Hexagon[]
GetVertices ( ) : IEnumerable
UnBuildCampus ( VertexPosition whereAt ) : void
UnBuildLink ( EdgePosition whereAt ) : void
this ( EdgePosition pos ) : Edge
this ( Position pos ) : Hexagon
this ( int x, int y ) : Hexagon
this ( int id ) : MingStar.SimUniversity.Board.Hexagon[]
this ( VertexPosition pos ) : Vertex

보호된 메소드들

메소드 설명
this ( EdgePosition pos ) : IEdgeIBoard.System
this ( Position pos ) : IHexagonIBoard.System
this ( VertexPosition pos ) : IVertexIBoard.System

비공개 메소드들

메소드 설명
CreateHexagon ( int id, DegreeType degree, Position position ) : Hexagon
GetHexagonOrNull ( Position position ) : Hexagon
GetLimits ( Position pos ) : void
IBoard ( ) : IEnumerable

메소드 상세

BuildCampus() 공개 메소드

public BuildCampus ( Vertex vertex, CampusType type, System.Color color ) : void
vertex Vertex
type CampusType
color System.Color
리턴 void

BuildLink() 공개 메소드

public BuildLink ( Edge side, System.Color color ) : void
side Edge
color System.Color
리턴 void

Clear() 공개 메소드

public Clear ( ) : void
리턴 void

GetEdges() 공개 메소드

public GetEdges ( ) : IEnumerable
리턴 IEnumerable

GetHexagons() 공개 메소드

public GetHexagons ( ) : MingStar.SimUniversity.Board.Hexagon[]
리턴 MingStar.SimUniversity.Board.Hexagon[]

GetVertices() 공개 메소드

public GetVertices ( ) : IEnumerable
리턴 IEnumerable

UnBuildCampus() 공개 메소드

public UnBuildCampus ( VertexPosition whereAt ) : void
whereAt MingStar.SimUniversity.Contract.VertexPosition
리턴 void

UnBuildLink() 공개 메소드

public UnBuildLink ( EdgePosition whereAt ) : void
whereAt MingStar.SimUniversity.Contract.EdgePosition
리턴 void

this() 공개 메소드

public this ( EdgePosition pos ) : Edge
pos MingStar.SimUniversity.Contract.EdgePosition
리턴 Edge

this() 공개 메소드

public this ( Position pos ) : Hexagon
pos MingStar.SimUniversity.Contract.Position
리턴 Hexagon

this() 공개 메소드

public this ( int x, int y ) : Hexagon
x int
y int
리턴 Hexagon

this() 공개 메소드

public this ( int id ) : MingStar.SimUniversity.Board.Hexagon[]
id int
리턴 MingStar.SimUniversity.Board.Hexagon[]

this() 보호된 메소드

protected this ( EdgePosition pos ) : IEdgeIBoard.System
pos MingStar.SimUniversity.Contract.EdgePosition
리턴 IEdgeIBoard.System

this() 보호된 메소드

protected this ( Position pos ) : IHexagonIBoard.System
pos MingStar.SimUniversity.Contract.Position
리턴 IHexagonIBoard.System

this() 보호된 메소드

protected this ( VertexPosition pos ) : IVertexIBoard.System
pos MingStar.SimUniversity.Contract.VertexPosition
리턴 IVertexIBoard.System

this() 공개 메소드

public this ( VertexPosition pos ) : Vertex
pos MingStar.SimUniversity.Contract.VertexPosition
리턴 Vertex

프로퍼티 상세

_edges 보호되어 있는 프로퍼티

protected ReadOnlyCollection _edges
리턴 ReadOnlyCollection

_hexagons 보호되어 있는 프로퍼티

protected HashSet _hexagons
리턴 HashSet

_hexgonPositions 보호되어 있는 프로퍼티

protected Dictionary _hexgonPositions
리턴 Hexagon>.Dictionary

_id2HexgonMap 보호되어 있는 프로퍼티

protected Dictionary> _id2HexgonMap
리턴 List>.Dictionary

_vertices 보호되어 있는 프로퍼티

protected ReadOnlyCollection _vertices
리턴 ReadOnlyCollection