Documentation ¶
Index ¶
- Constants
- type Direction
- type Input
- func (i *Input) IsActionKeyJustPressed() bool
- func (i *Input) IsActionKeyPressed() bool
- func (i *Input) IsDirectionKeyPressed(dir Direction) bool
- func (i *Input) IsKeyJustPressed(key ebiten.Key) bool
- func (i *Input) IsKeyPressed(key ebiten.Key) bool
- func (i *Input) IsLanguageSwitcherPressed() bool
- func (i *Input) IsSpaceJustTouched() bool
- func (i *Input) IsSpaceTouched() bool
- func (i *Input) IsTouchEnabled() bool
- func (i *Input) Update()
Constants ¶
View Source
const ( // TODO: This is duplicated with draw package's definitions. ScreenWidth = 320 ScreenHeight = 240 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Input ¶
type Input struct {
// contains filtered or unexported fields
}
func (*Input) IsActionKeyJustPressed ¶
func (*Input) IsActionKeyPressed ¶
func (*Input) IsDirectionKeyPressed ¶
func (*Input) IsLanguageSwitcherPressed ¶
func (*Input) IsSpaceJustTouched ¶
func (*Input) IsSpaceTouched ¶
func (*Input) IsTouchEnabled ¶
Click to show internal directories.
Click to hide internal directories.