objects

package
v4.0.0-rc2+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2018 License: MIT Imports: 1 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Alive

type Alive interface {
	Hit(dot engine.Dot, force float32) (success bool, err error)
}

Alive interface describes methods that must be implemented all alive objects

type Food

type Food interface {
	Bite(dot engine.Dot) (nv uint16, success bool, err error)
}

Food interface describes methods that must be implemented all edible objects

type Object

type Object interface {
	Break(dot engine.Dot, force float32) (success bool, err error)
}

Object interface describes methods that must be implemented all not alive objects

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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