components

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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CyclesComponent

type CyclesComponent struct {
	component.BaseComponent
}

func NewCyclesComponent

func NewCyclesComponent(x, y, width, height int32) *CyclesComponent

func (*CyclesComponent) Draw

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

func (*CyclesComponent) DrawComponent

func (c *CyclesComponent) 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

type LifeBoardComponent

type LifeBoardComponent struct {
	component.BaseComponent
}

func NewLifeBoardComponent

func NewLifeBoardComponent(x, y, width, height int32) *LifeBoardComponent

func (*LifeBoardComponent) Draw

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

func (*LifeBoardComponent) DrawComponent

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto