Documentation
¶
Overview ¶
Package piloop defines events published during the game loop.
It enables adding logic from any component, including those created by third parties.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DebugTarget ¶
Types ¶
type Event ¶
type Event string
const ( EventInit Event = "init" // when the game is started, just before the first frame EventFrameStart Event = "frame_start" // beginning of the frame EventUpdate Event = "update" // after pi.Update EventLateUpdate Event = "late_update" // after EventUpdate EventDraw Event = "draw" // after pi.Draw EventLateDraw Event = "late_draw" // after EventDraw EventWindowClose Event = "window_close" // when a user closes the window (desktop only) )
Click to show internal directories.
Click to hide internal directories.