apple

package
v4.2.2+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2019 License: MIT Imports: 6 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Apple

type Apple struct {
	// contains filtered or unexported fields
}

ffjson: skip

func NewApple

func NewApple(world world.Interface) (*Apple, error)

NewApple creates and locates new apple

func (*Apple) Bite

func (a *Apple) Bite(dot engine.Dot) (nv uint16, success bool, err error)

func (*Apple) MarshalJSON

func (a *Apple) MarshalJSON() ([]byte, error)

func (*Apple) String

func (a *Apple) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL