Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeyMouse ¶
type KeyMouse int
KeyMouse combines ebiten's Key and MouseButton.
func FromMouse ¶
func FromMouse(mb ebiten.MouseButton) KeyMouse
FromMouse converts MouseButton to a KeyMouse.
func (KeyMouse) Key ¶
Key converts KeyMouse to Key. The return value ok is false if it is actually a MouseButton.
Click to show internal directories.
Click to hide internal directories.