Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interfacer ¶
type Interfacer interface {
//TargetPositionUpdate(tp *common.Vector, duration time.Duration)
IsEnabled() bool
SetEnabled(isEnabled bool)
IsVisible() bool
SetVisible(isVisible bool)
Update(dt float64)
Draw(screen *ebiten.Image)
Name() string
RenderIndex() int64
SetRenderIndex(renderIndex int64)
IsDestroyed() bool
SetIsDestroyed(isDestroyed bool)
SetText(text string)
LerpPosition(endPositionX, endpositionY float64, duration time.Duration, isDestroyed bool, endFunc func())
}
Interfacer wraps all user interface elements is a generic user interface wrapper
Click to show internal directories.
Click to hide internal directories.