C# Class Snake.Player

Player entity class
显示文件 Open project: Thraka/SadConsole Class Usage Examples

Public Properties

Property Type Description
RemoveNodes LinkedList
TailNodes LinkedList

Public Methods

Method Description
Move ( ) : void
Player ( ) : System.Collections.Generic
ProcessKeyboard ( SadConsole info ) : bool
ProcessTail ( Point point ) : void
SetStartingPosition ( Point start ) : void

Method Details

Move() public method

public Move ( ) : void
return void

Player() public method

public Player ( ) : System.Collections.Generic
return System.Collections.Generic

ProcessKeyboard() public method

public ProcessKeyboard ( SadConsole info ) : bool
info SadConsole
return bool

ProcessTail() public method

public ProcessTail ( Point point ) : void
point Point
return void

SetStartingPosition() public method

public SetStartingPosition ( Point start ) : void
start Point
return void

Property Details

RemoveNodes public_oe property

public LinkedList RemoveNodes
return LinkedList

TailNodes public_oe property

public LinkedList TailNodes
return LinkedList