Documentation ¶
Index ¶
- Variables
- func InitFrameBuffer()
- func InitGL()
- func InitGLFW() *glfw.Window
- func New(emulator game.Console) game.Game
- func Terminate()
- type Game
- type Keyboard
- func (Keyboard) IsDownJustPressed() bool
- func (Keyboard) IsDownPressed() bool
- func (Keyboard) IsLeftJustPressed() bool
- func (Keyboard) IsLeftPressed() bool
- func (Keyboard) IsPrimaryJustPressed() bool
- func (Keyboard) IsPrimaryPressed() bool
- func (Keyboard) IsRightJustPressed() bool
- func (Keyboard) IsRightPressed() bool
- func (Keyboard) IsSecondaryJustPressed() bool
- func (Keyboard) IsSecondaryPressed() bool
- func (Keyboard) IsUpJustPressed() bool
- func (Keyboard) IsUpPressed() bool
- type Mouse
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Texture uint32 Framebuffer uint32 )
Functions ¶
func InitFrameBuffer ¶
func InitFrameBuffer()
Types ¶
type Game ¶
type Keyboard ¶
type Keyboard struct{}
func (Keyboard) IsDownJustPressed ¶
func (Keyboard) IsDownPressed ¶
func (Keyboard) IsLeftJustPressed ¶
func (Keyboard) IsLeftPressed ¶
func (Keyboard) IsPrimaryJustPressed ¶
func (Keyboard) IsPrimaryPressed ¶
func (Keyboard) IsRightJustPressed ¶
func (Keyboard) IsRightPressed ¶
func (Keyboard) IsSecondaryJustPressed ¶
func (Keyboard) IsSecondaryPressed ¶
func (Keyboard) IsUpJustPressed ¶
func (Keyboard) IsUpPressed ¶
type Mouse ¶
type Mouse struct{}
func (Mouse) CursorPosition ¶
func (Mouse) CursorPositionFloat ¶
func (Mouse) IsLeftClickJustPressed ¶
func (Mouse) IsLeftClickPressed ¶
func (Mouse) IsRightClickJustPressed ¶
func (Mouse) IsRightClickPressed ¶
Click to show internal directories.
Click to hide internal directories.