forceSpace

package
v0.0.0-...-da61710 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHurtBox

func NewHurtBox(x, y, w, h float64, duration time.Duration, l collision.Label, fv physics.ForceVector, debug ...bool)

Types

type DirectionSpace

type DirectionSpace struct {
	*collision.Space
	physics.ForceVector
}

func NewDirectionSpace

func NewDirectionSpace(s *collision.Space, v physics.ForceVector) *DirectionSpace

func (*DirectionSpace) Init

func (ds *DirectionSpace) Init() event.CID

type HurtBox

type HurtBox struct {
	*DirectionSpace
}

Jump to

Keyboard shortcuts

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