Documentation ¶
Index ¶
- type DebugPanel
- func (d *DebugPanel) Draw(screen *ebiten.Image)
- func (d *DebugPanel) DrawBox(screen *ebiten.Image, padding, x, y, w, h int, text string, state int)
- func (d *DebugPanel) DrawItems(screen *ebiten.Image, startIndex int, items []*data.VariableItem) int
- func (d *DebugPanel) RowCount() int
- func (d *DebugPanel) Update(sceneManager *scene.Manager) error
- type DebugPanelType
- type NumberInput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DebugPanel ¶
type DebugPanel struct {
// contains filtered or unexported fields
}
func NewDebugPanel ¶
func NewDebugPanel(game *gamestate.Game, entityType DebugPanelType) *DebugPanel
func (*DebugPanel) Draw ¶
func (d *DebugPanel) Draw(screen *ebiten.Image)
func (*DebugPanel) DrawItems ¶
func (d *DebugPanel) DrawItems(screen *ebiten.Image, startIndex int, items []*data.VariableItem) int
func (*DebugPanel) RowCount ¶
func (d *DebugPanel) RowCount() int
type DebugPanelType ¶
type DebugPanelType string
const ( DebugPanelTypeSwitch DebugPanelType = "switch" DebugPanelTypeVariable DebugPanelType = "variable" )
type NumberInput ¶
type NumberInput struct {
// contains filtered or unexported fields
}
func NewNumberInput ¶
func NewNumberInput() *NumberInput
func (*NumberInput) SetValue ¶
func (n *NumberInput) SetValue(value int)
func (*NumberInput) Text ¶
func (n *NumberInput) Text() string
func (*NumberInput) Update ¶
func (n *NumberInput) Update()
func (*NumberInput) Value ¶
func (n *NumberInput) Value() int
Click to show internal directories.
Click to hide internal directories.