ecs

package
v0.0.0-...-d322e89 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2018 License: BSD-2-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const Size = 1000

Variables

This section is empty.

Functions

This section is empty.

Types

type Entity

type Entity uint32
const (
	None  Entity = 0
	First Entity = 1
)

func Last

func Last() Entity

func New

func New(m Mask) Entity

func (Entity) Add

func (e Entity) Add(m Mask)

func (Entity) Delete

func (e Entity) Delete()

func (Entity) Has

func (e Entity) Has(m Mask) bool

type Mask

type Mask uint32
const (
	GridPosition Mask = 1 << iota
	Color
	MatchFlag
)

Jump to

Keyboard shortcuts

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