Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChangeScene ¶
func ChangeScene[ControllerAccessor any](ctx *Context, c gscene.Controller[ControllerAccessor])
Types ¶
type Context ¶
type Context struct { Input *input.Handler Loader *resource.Loader Rand gmath.Rand WindowWidth int WindowHeight int // contains filtered or unexported fields }
func NewContext ¶
func NewContext() *Context
func (*Context) CurrentScene ¶
func (ctx *Context) CurrentScene() gscene.GameRunner
Click to show internal directories.
Click to hide internal directories.