C# 클래스 SnakeBattleNet.Core.Fighter

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

공개 프로퍼티들

프로퍼티 타입 설명
Head Directed
Tail Directed

공개 메소드들

메소드 설명
CutTail ( ) : void
Fighter ( string id, ICollection chips, Directed tail ) : System.Collections.Generic
Grow ( Direction direction, int length = 1 ) : void

메소드 상세

CutTail() 공개 메소드

public CutTail ( ) : void
리턴 void

Fighter() 공개 메소드

public Fighter ( string id, ICollection chips, Directed tail ) : System.Collections.Generic
id string
chips ICollection
tail Directed
리턴 System.Collections.Generic

Grow() 공개 메소드

public Grow ( Direction direction, int length = 1 ) : void
direction Direction
length int
리턴 void

프로퍼티 상세

Head 공개적으로 프로퍼티

public Directed Head
리턴 Directed

Tail 공개적으로 프로퍼티

public Directed Tail
리턴 Directed