gg/context.go

19 lines
246 B
Go

package gg
type contextType int
const (
startContext contextType = iota
updateContext
resolveContext
eventContext
drawContext
deleteContext
)
type Context struct {
typ contextType
Events []any
Collisions []Collision
*Engine
*Image
}