Documentation ¶
Index ¶
Constants ¶
View Source
const (
ALPHABET = "ABCDEFGHJKLMNOPQRSTUVWXYZ"
)
Variables ¶
View Source
var Background = &BackgroundData{}
Functions ¶
This section is empty.
Types ¶
type AudioPlayer ¶
type AudioPlayer struct {
// contains filtered or unexported fields
}
func NewAudioPlayer ¶
func NewAudioPlayer(assets fs.FS, context *audio.Context) *AudioPlayer
func (*AudioPlayer) HandleCapture ¶
func (rs *AudioPlayer) HandleCapture(w donburi.World, e *event.Points)
func (*AudioPlayer) HandleMove ¶
func (rs *AudioPlayer) HandleMove(w donburi.World, e *event.Move)
type BackgroundData ¶
type BackgroundData struct {
// contains filtered or unexported fields
}
func (*BackgroundData) DrawBackground ¶
func (b *BackgroundData) DrawBackground(ecs *ecs.ECS, screen *ebiten.Image)
type BoardRender ¶
type BoardRender struct {
// contains filtered or unexported fields
}
func NewRender ¶
func NewRender(bounds *image.Rectangle) *BoardRender
func (*BoardRender) Draw ¶
func (r *BoardRender) Draw(ecs *ecs.ECS, screen *ebiten.Image)
type InputManager ¶
type InputManager struct {
// contains filtered or unexported fields
}
func NewInputManager ¶
func NewInputManager(bounds *image.Rectangle) *InputManager
func (*InputManager) Update ¶
func (im *InputManager) Update(ecs *ecs.ECS)
type MenuRender ¶
type MenuRender struct { Bounds *image.Rectangle GameUI *furex.View // contains filtered or unexported fields }
func NewMenuRender ¶
func NewMenuRender(bounds *image.Rectangle, setup func(r *MenuRender)) *MenuRender
func (*MenuRender) Draw ¶
func (r *MenuRender) Draw(ecs *ecs.ECS, screen *ebiten.Image)
func (*MenuRender) Update ¶
func (r *MenuRender) Update(ecs *ecs.ECS)
type RuleSystem ¶
type RuleSystem struct {
// contains filtered or unexported fields
}
func NewRuleSystem ¶
func NewRuleSystem(ecs *ecs.ECS) *RuleSystem
func (*RuleSystem) HandleInput ¶
func (rs *RuleSystem) HandleInput(w donburi.World, e *event.Interaction)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.