pages

package
v0.0.0-...-fe59789 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 28, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GamePage

type GamePage struct {
	component.BasePage
}

func NewGamePage

func NewGamePage(name string, x, y, width, height int32) *GamePage

func (*GamePage) Draw

func (c *GamePage) Draw(r *sdl.Renderer) error

func (*GamePage) KeyEvent

func (g *GamePage) KeyEvent(event *sdl.KeyboardEvent) bool

func (*GamePage) MouseButtonEvent

func (c *GamePage) MouseButtonEvent(event *sdl.MouseButtonEvent) bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL