Documentation ¶ Index ¶ type GamePage func NewGamePage(name string, x, y, width, height int32) *GamePage func (c *GamePage) Draw(r *sdl.Renderer) error func (g *GamePage) KeyEvent(event *sdl.KeyboardEvent) bool func (c *GamePage) MouseButtonEvent(event *sdl.MouseButtonEvent) bool 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 ¶ View all Source files gamepage.go Click to show internal directories. Click to hide internal directories.