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 }