interfaces

package
v1.5.220 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: Apache-2.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 Abilityer

type Abilityer interface {
	engine.EntityImpl
	HasAbility(name string) bool
	GiveAbility(name, text string)
}

type ActionPresseder

type ActionPresseder interface {
	engine.EntityImpl
	ActionPressed() bool
}

type Contentser

type Contentser interface {
	engine.EntityImpl

	ReadContents() level.Contents
}

type GroundEntityer

type GroundEntityer interface {
	engine.EntityImpl

	ReadGroundEntity() *engine.Entity
}

type HandleToucher

type HandleToucher interface {
	engine.EntityImpl

	HandleTouch(trace engine.TraceResult)
}

type Physics

type Physics interface {
	Velocityer
	GroundEntityer
	HandleToucher
	Contentser
}

type SetGoaler

type SetGoaler interface {
	engine.EntityImpl
	SetGoal(goal *engine.Entity)
}

type VVVVVVer

type VVVVVVer interface {
	engine.EntityImpl
	SetVVVVVV(vvvvvv bool, down m.Delta, factor float64)
}

type Velocityer

type Velocityer interface {
	engine.EntityImpl

	SetVelocity(velocity m.Delta)
	SetVelocityForJump(velocity m.Delta)
	ReadVelocity() m.Delta
	ReadSubPixel() m.Delta
	ReadOnGround() bool
	ReadOnGroundVec() m.Delta
}

Jump to

Keyboard shortcuts

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