entity

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clear

func Clear()

func NextEntityID

func NextEntityID() uint

func Register

func Register(entity Entiter) error

Types

type Entiter

type Entiter interface {
	EntityID() uint
	X() float64
	Y() float64
	SWidth() int
	SHeight() int
}

func Entity

func Entity(entityID uint) Entiter

Jump to

Keyboard shortcuts

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