18 lines
276 B
Go
18 lines
276 B
Go
package components
|
|
|
|
import (
|
|
"github.com/hajimehoshi/ebiten/v2"
|
|
)
|
|
|
|
// virtual location, aka tile address
|
|
|
|
type Renderable struct {
|
|
Image *ebiten.Image
|
|
}
|
|
|
|
// only tile entities will have those
|
|
type Tilish struct{}
|
|
type Solid struct{}
|
|
type Floor struct{}
|
|
type Player struct{}
|