C# Class Snake, Fupixel

Inheritance: MonoBehaviour
Mostrar archivo Open project: JuhaKiili/Fupixel Class Usage Examples

Public Properties

Property Type Description
backgroundColor Color
foodColor Color
inputHandled bool
snakeColor Color
wallColor Color

Public Methods

Method Description
Awake ( ) : void
DrawFood ( ) : void
DrawWalls ( ) : void
Update ( ) : void

Private Methods

Method Description
CheckForGameOver ( ) : void
DrawSnake ( ) : void
HandleInput ( ) : void
HandleSnakeQueue ( ) : void
MoveSnake ( ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

DrawFood() public method

public DrawFood ( ) : void
return void

DrawWalls() public method

public DrawWalls ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

backgroundColor public_oe property

public Color backgroundColor
return Color

foodColor public_oe property

public Color foodColor
return Color

inputHandled public_oe property

public bool inputHandled
return bool

snakeColor public_oe property

public Color snakeColor
return Color

wallColor public_oe property

public Color wallColor
return Color