contact

package
v0.0.0-...-52349ec Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2023 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Absorber

type Absorber interface {
	Absorbs() bool
}

type Bouncer

type Bouncer interface {
	Bouncy() bool
}

type PlayerContactListener

type PlayerContactListener struct {
	*world.WorldState
}

func (PlayerContactListener) BeginContact

func (listener PlayerContactListener) BeginContact(contact box2d.B2ContactInterface)

func (PlayerContactListener) EndContact

func (listener PlayerContactListener) EndContact(contact box2d.B2ContactInterface)

func (PlayerContactListener) PostSolve

func (listener PlayerContactListener) PostSolve(contact box2d.B2ContactInterface, impulse *box2d.B2ContactImpulse)

func (PlayerContactListener) PreSolve

func (listener PlayerContactListener) PreSolve(contact box2d.B2ContactInterface, oldManifold box2d.B2Manifold)

type Sticker

type Sticker interface {
	Sticky() bool
}

Jump to

Keyboard shortcuts

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