pages

package
Version: v0.0.0-...-889be3d Latest Latest
Warning

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

Go to latest
Published: May 9, 2021 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

Source Files

Jump to

Keyboard shortcuts

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