openquell/components/components.go

14 lines
198 B
Go

package components
// only tile entities will have those
type Tilish struct{}
type Solid struct{}
type Floor struct{}
type Collectible struct {
Hit bool
}
type Obstacle struct {
Direction int
}