C# 클래스 SnakeBattleNet.Core.BattleField

파일 보기 프로젝트 열기: FoC-/SnakeBattle.Net 1 사용 예제들

공개 메소드들

메소드 설명
BattleField ( ) : System
RelativeCell ( Direction direction, Position fieldHead, Position chipHead, Position chipCell ) : Cell
ToString ( ) : string
this ( int x, int y ) : Content

비공개 메소드들

메소드 설명
CreateEmpty ( ) : void
CreateWalls ( ) : void
EastView ( Position fieldHead, Position chipHead, Position chipCell ) : Cell
NorthView ( Position fieldHead, Position chipHead, Position chipCell ) : Cell
SouthView ( Position fieldHead, Position chipHead, Position chipCell ) : Cell
WestView ( Position fieldHead, Position chipHead, Position chipCell ) : Cell

메소드 상세

BattleField() 공개 메소드

public BattleField ( ) : System
리턴 System

RelativeCell() 공개 메소드

public RelativeCell ( Direction direction, Position fieldHead, Position chipHead, Position chipCell ) : Cell
direction Direction
fieldHead SnakeBattleNet.Core.Contract.Position
chipHead SnakeBattleNet.Core.Contract.Position
chipCell SnakeBattleNet.Core.Contract.Position
리턴 Cell

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

this() 공개 메소드

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