gohan/context.go

9 lines
187 B
Go

package gohan
// context represents the current iteration of a System's matching entities.
type context struct {
allowed []componentID
components []interface{}
systemIndex int
}