bullet

package
v0.0.0-...-9c16532 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Entity

type Entity struct {
	ID         entity.ID
	Owner      entity.ID
	Health     *health.Component
	Physics    *cp.Body
	Despawning *despawning.Component
}

func New

func New(space *cp.Space, id entity.ID, owner entity.ID, ownerPhysics *cp.Body, force float64, damage float64, ttl uint) *Entity

func (*Entity) Snapshot

func (e *Entity) Snapshot(b *flatbuffers.Builder, known bool) flatbuffers.UOffsetT

Jump to

Keyboard shortcuts

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