Documentation
¶
Index ¶
Constants ¶
View Source
const TypeKeyDown = tinygametools.EventName("KeyDown")
View Source
const TypeKeyHeld = tinygametools.EventName("KeyHeld")
View Source
const TypeKeyReleased = tinygametools.EventName("KeyReleased")
View Source
const TypeMouseMove = tinygametools.EventName("MouseMove")
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeyDown ¶
type KeyDown struct {
Key tinygametools.Key
}
KeyDown event object for keydown
func (*KeyDown) Type ¶
func (message *KeyDown) Type() tinygametools.EventName
Type returns message type
type KeyHeld ¶
type KeyHeld struct {
Key tinygametools.Key
}
KeyHeld event object for when key is held down
func (*KeyHeld) Type ¶
func (message *KeyHeld) Type() tinygametools.EventName
type KeyReleased ¶
type KeyReleased struct {
Key tinygametools.Key
}
KeyReleased event object for key released
func (*KeyReleased) Message ¶
func (message *KeyReleased) Message() interface{}
func (*KeyReleased) Type ¶
func (message *KeyReleased) Type() tinygametools.EventName
Click to show internal directories.
Click to hide internal directories.