component

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Building

type Building struct{}

type Health

type Health struct {
	Current int
	Max     int
}

type Movable

type Movable struct {
	Speed float64
}

type Once

type Once struct{}

type Position

type Position struct {
	X float64
	Y float64
}

type Sprite

type Sprite struct {
	Image  *ebiten.Image
	Width  float64
	Height float64
}

type Unit

type Unit struct {
	Type     UnitType
	Selected bool
}

type UnitType

type UnitType int
const (
	UnitTypeNone UnitType = iota
	UnitTypeWorker
	UnitTypeBuildingBarracks
)

Jump to

Keyboard shortcuts

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