This is the main game class holding the control of the entire snake game, user input and the
interaction of the snake with the borders and the chunks
View code on GitHub
Inheritance Hierarchy
Snake Game
Namespace: Snake
Assembly: Snake (in Snake.exe) Version: 1.1.1.0 (1.1.1)
Syntax
The Game type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Game | Initializes a new instance of the Game class |
Methods
Name | Description | |
---|---|---|
CloseGame | ||
MoveAccordingToTouchPosition | ||
MoveAnalogue | ||
MoveDown | ||
MoveLeft | ||
MoveRight | ||
MoveUp | ||
Reset | ||
RespawnChunk | ||
RestartGame | ||
StartGame |
Fields
Name | Description | |
---|---|---|
screenSpace |
Properties
Name | Description | |
---|---|---|
Chunk | ||
Snake |
See Also