Documentation ¶
Index ¶
Constants ¶
View Source
const ( LayerBackground = 0 LayerForeground = 100 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OverlayDrawable ¶
type OverlayDrawable interface { OverlayLayer() int OverlayDraw(screen *ebiten.Image) }
OverlayDrawable is the component used in the drawing system to draw on the screen overlay.
type OverlayLayer ¶
type OverlayLayer struct {
Drawables map[string]OverlayDrawable
}
func NewOverlayLayer ¶
func NewOverlayLayer(order int) *OverlayLayer
func (*OverlayLayer) Clear ¶
func (l *OverlayLayer) Clear()
type OverlaySystem ¶
func NewOverlaySystem ¶
func NewOverlaySystem(w, h int) OverlaySystem
type WorldDrawable ¶
type WorldDrawable interface { WorldLayer() int WorldDraw(world *ebiten.Image, visible topdown.Rectangle[float64]) }
WorldDrawable is the component used in the drawing system to draw on the world surface.
type WorldLayer ¶
type WorldLayer struct {
Drawables map[string]WorldDrawable
}
func NewWorldLayer ¶
func NewWorldLayer(order int) *WorldLayer
func (*WorldLayer) Clear ¶
func (l *WorldLayer) Clear()
type WorldSystem ¶
func NewWorldSystem ¶
func NewWorldSystem(w, h int) WorldSystem
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package mock_drawing is a generated GoMock package.
|
Package mock_drawing is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.