system

package
v0.0.0-...-39a46bb Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2022 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HandleInput

type HandleInput struct {
	Once *component.Once
}

func (*HandleInput) Draw

func (r *HandleInput) Draw(e gohan.Entity, screen *ebiten.Image) error

func (*HandleInput) Update

func (r *HandleInput) Update(e gohan.Entity) error

type HandleSelection

type HandleSelection struct {
	Position *component.Position
	Unit     *component.Unit
}

func (*HandleSelection) Draw

func (s *HandleSelection) Draw(e gohan.Entity, screen *ebiten.Image) error

func (*HandleSelection) Update

func (s *HandleSelection) Update(e gohan.Entity) error

type RenderDebug

type RenderDebug struct {
	Once *component.Once
	// contains filtered or unexported fields
}

func (*RenderDebug) Draw

func (s *RenderDebug) Draw(e gohan.Entity, screen *ebiten.Image) error

func (*RenderDebug) Initialize

func (s *RenderDebug) Initialize()

func (*RenderDebug) Update

func (s *RenderDebug) Update(_ gohan.Entity) error

type RenderEnvironment

type RenderEnvironment struct {
	Once *component.Once
	// contains filtered or unexported fields
}

func (*RenderEnvironment) Draw

func (r *RenderEnvironment) Draw(e gohan.Entity, screen *ebiten.Image) error

func (*RenderEnvironment) Initialize

func (r *RenderEnvironment) Initialize()

func (*RenderEnvironment) Update

func (r *RenderEnvironment) Update(e gohan.Entity) error

type RenderSelection

type RenderSelection struct {
	Unit     *component.Unit
	Position *component.Position
	Sprite   *component.Sprite
	// contains filtered or unexported fields
}

func (*RenderSelection) Draw

func (r *RenderSelection) Draw(e gohan.Entity, screen *ebiten.Image) error

func (*RenderSelection) Initialize

func (r *RenderSelection) Initialize()

func (*RenderSelection) Update

func (r *RenderSelection) Update(e gohan.Entity) error

type RenderUnit

type RenderUnit struct {
	Position *component.Position
	Sprite   *component.Sprite
	// contains filtered or unexported fields
}

func (*RenderUnit) Draw

func (r *RenderUnit) Draw(e gohan.Entity, screen *ebiten.Image) error

func (*RenderUnit) Initialize

func (r *RenderUnit) Initialize()

func (*RenderUnit) Update

func (r *RenderUnit) Update(e gohan.Entity) error

Jump to

Keyboard shortcuts

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