commandeuropa/component/unit.go

15 lines
176 B
Go
Raw Permalink Normal View History

2022-11-18 21:19:58 +00:00
package component
type Unit struct {
2022-11-18 22:12:00 +00:00
Type UnitType
Selected bool
2022-11-18 21:19:58 +00:00
}
type UnitType int
const (
UnitTypeNone UnitType = iota
UnitTypeWorker
UnitTypeBuildingBarracks
)