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 ( EventGameStarted Event = "game_started" // just before first frame EventFrameStarted Event = "frame_started" // beginning of the frame EventUpdate Event = "update" // after pi.Update EventLateUpdate Event = "late_draw" // after EventUpdate EventDraw Event = "draw" // after pi.Draw EventLateDraw Event = "late_draw" // after EventDraw EventWindowClosed Event = "window_closed" // when user closes the window (desktop only) )
Click to show internal directories.
Click to hide internal directories.