14 lines
198 B
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
|
|
}
|