Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultDriver = &defaultDriver{}
DefaultDriver is a default driver for ebiten
Functions ¶
This section is empty.
Types ¶
type Driver ¶
type Driver interface { CursorPosition() image.Point IsMouseButtonPressed(key ebiten.MouseButton) bool IsMouseButtonJustPressed(key ebiten.MouseButton) bool MousePrimaryButton() ebiten.MouseButton IsKeyPressed(ebiten.Key) bool IsKeyJustPressed(key ebiten.Key) bool PressedTouchPositions() []image.Point JustPressedTouchPositions() []image.Point }
Driver is the middleware for ebiten
Click to show internal directories.
Click to hide internal directories.