package
Version:
v0.0.0-...-7fee067
Opens a new window with list of versions in this module.
Published: Mar 3, 2024
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Console interface {
Update()
Render()
GetFrame() []byte
GetRenderPipeline() []*texture.Texture
}
type Game interface {
Run()
}
type GamePad interface {
IsUpPressed() bool
IsUpJustPressed() bool
IsDownPressed() bool
IsDownJustPressed() bool
IsLeftPressed() bool
IsLeftJustPressed() bool
IsRightPressed() bool
IsRightJustPressed() bool
IsPrimaryPressed() bool
IsSecondaryPressed() bool
IsPrimaryJustPressed() bool
IsSecondaryJustPressed() bool
}
type Mouse interface {
CursorPosition() (int, int)
CursorPositionFloat() (float64, float64)
IsLeftClickPressed() bool
IsRightClickPressed() bool
IsLeftClickJustPressed() bool
IsRightClickJustPressed() bool
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.