Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Snake ¶
type Snake struct {
// contains filtered or unexported fields
}
func (*Snake) GetStatus ¶
func (s *Snake) GetStatus() TailStatus
func (*Snake) SetDirection ¶
type TailMove ¶
type TailMove func(length *[][2]float32, headIndex int) (status TailStatus)
Click to show internal directories.
Click to hide internal directories.