C# 클래스 Snake.Player

Player entity class
파일 보기 프로젝트 열기: Thraka/SadConsole 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
RemoveNodes LinkedList
TailNodes LinkedList

공개 메소드들

메소드 설명
Move ( ) : void
Player ( ) : System.Collections.Generic
ProcessKeyboard ( SadConsole info ) : bool
ProcessTail ( Point point ) : void
SetStartingPosition ( Point start ) : void

메소드 상세

Move() 공개 메소드

public Move ( ) : void
리턴 void

Player() 공개 메소드

public Player ( ) : System.Collections.Generic
리턴 System.Collections.Generic

ProcessKeyboard() 공개 메소드

public ProcessKeyboard ( SadConsole info ) : bool
info SadConsole
리턴 bool

ProcessTail() 공개 메소드

public ProcessTail ( Point point ) : void
point Point
리턴 void

SetStartingPosition() 공개 메소드

public SetStartingPosition ( Point start ) : void
start Point
리턴 void

프로퍼티 상세

RemoveNodes 공개적으로 프로퍼티

public LinkedList RemoveNodes
리턴 LinkedList

TailNodes 공개적으로 프로퍼티

public LinkedList TailNodes
리턴 LinkedList