Documentation ¶
Index ¶
Constants ¶
View Source
const ( KeyForward = sdl.SCANCODE_W KeyBack = sdl.SCANCODE_S KeyLeft = sdl.SCANCODE_A KeyRight = sdl.SCANCODE_D )
Variables ¶
View Source
var ( MouseX int32 MouseDeltaX int32 MouseState uint32 )
Functions ¶
func GetMouseInput ¶
func GetMouseInput()
func MovePlayer ¶
func MovePlayer()
func RenderViewport ¶
func RenderViewport()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.