gg/context.go

20 lines
246 B
Go
Raw Normal View History

package gg
type contextType int
const (
startContext contextType = iota
updateContext
resolveContext
eventContext
drawContext
deleteContext
)
type Context struct {
typ contextType
2024-01-08 07:12:35 +03:00
Events []any
Collisions []Collision
*Engine
*Image
}