components

package
v0.0.0-...-2080b93 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 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 SugarscapeComponent

type SugarscapeComponent struct {
	component.BaseComponent
}

func NewSugarscapeComponent

func NewSugarscapeComponent(x, y, width, height int32) *SugarscapeComponent

func (*SugarscapeComponent) Draw

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

func (*SugarscapeComponent) DrawComponent

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

Jump to

Keyboard shortcuts

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