Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Craft ¶
type Craft interface { Image() *ebiten.Image Size() Size AddText(string, color.Color) Craft Const() *Image }
Craft
type HorizontalStack ¶
type HorizontalStack struct {
// contains filtered or unexported fields
}
HorizontalStack Craft
``` +---+---+---+ | | | | --> horizontal +---+---+---+ ```
func NewHorizontalStack ¶
func NewHorizontalStack(crafts ...Craft) *HorizontalStack
func (*HorizontalStack) AddText ¶
func (s *HorizontalStack) AddText(str string, color color.Color) Craft
func (*HorizontalStack) Const ¶
func (s *HorizontalStack) Const() *Image
func (*HorizontalStack) Image ¶
func (s *HorizontalStack) Image() *ebiten.Image
func (*HorizontalStack) Size ¶
func (s *HorizontalStack) Size() Size
type Layer ¶
type Layer struct {
// contains filtered or unexported fields
}
Layer Craft
``` +------+ | | | |---+ +------+ | ....| | ....+------+ --> layer ```
type VerticalStack ¶
type VerticalStack struct {
// contains filtered or unexported fields
}
VerticalStack Craft
``` +---+ | | +---+ | | +---+ ..| vertical ..v
```
func NewVerticalStack ¶
func NewVerticalStack(crafts ...Craft) *VerticalStack
func (*VerticalStack) AddText ¶
func (s *VerticalStack) AddText(str string, color color.Color) Craft
func (*VerticalStack) Const ¶
func (s *VerticalStack) Const() *Image
func (*VerticalStack) Image ¶
func (s *VerticalStack) Image() *ebiten.Image
func (*VerticalStack) Size ¶
func (s *VerticalStack) Size() Size
Click to show internal directories.
Click to hide internal directories.