Game ClassDelta Engine Documentation
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

System Object
  Snake Game

Namespace: Snake
Assembly: Snake (in Snake.exe) Version: 1.1.1.0 (1.1.1)
Syntax

public class Game

The Game type exposes the following members.

Constructors

  NameDescription
Public methodGame
Initializes a new instance of the Game class
Top
Methods

  NameDescription
Public methodCloseGame
Public methodMoveAccordingToTouchPosition
Public methodMoveAnalogue
Public methodMoveDown
Public methodMoveLeft
Public methodMoveRight
Public methodMoveUp
Public methodReset
Public methodRespawnChunk
Public methodRestartGame
Public methodStartGame
Top
Fields

  NameDescription
Public fieldscreenSpace
Top
Properties

  NameDescription
Public propertyChunk
Public propertySnake
Top
See Also