components

package
v0.0.0-...-4121593 Latest Latest
Warning

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

Go to latest
Published: May 10, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BugsComponent

type BugsComponent struct {
	component.BaseComponent
}

func NewBugsComponent

func NewBugsComponent(x, y, width, height int32) *BugsComponent

func (*BugsComponent) Draw

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

func (*BugsComponent) DrawComponent

func (c *BugsComponent) DrawComponent(r *sdl.Renderer) error

type HeaderComponent

type HeaderComponent struct {
	component.BaseComponent
}

func NewHeaderComponent

func NewHeaderComponent(x, y, width, height int32) *HeaderComponent

func (*HeaderComponent) Draw

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

func (*HeaderComponent) DrawComponent

func (c *HeaderComponent) DrawComponent(r *sdl.Renderer) error

Jump to

Keyboard shortcuts

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