Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Game ¶
type Game struct {
// contains filtered or unexported fields
}
func (*Game) DoSnakeAction ¶
func (g *Game) DoSnakeAction(action SnakeAction)
type Snake ¶
type Snake struct {
// contains filtered or unexported fields
}
func (*Snake) ChangeDirection ¶
type SnakeAction ¶
type SnakeAction struct {
// contains filtered or unexported fields
}
func NewSnakeAction ¶
func NewSnakeAction(sID string, d Direction) SnakeAction
Click to show internal directories.
Click to hide internal directories.