Documentation ¶
Index ¶
- type Absorber
- type Bouncer
- type PlayerContactListener
- func (listener PlayerContactListener) BeginContact(contact box2d.B2ContactInterface)
- func (listener PlayerContactListener) EndContact(contact box2d.B2ContactInterface)
- func (listener PlayerContactListener) PostSolve(contact box2d.B2ContactInterface, impulse *box2d.B2ContactImpulse)
- func (listener PlayerContactListener) PreSolve(contact box2d.B2ContactInterface, oldManifold box2d.B2Manifold)
- type Sticker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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)
Click to show internal directories.
Click to hide internal directories.