1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-06-11 10:20:41 +00:00
OpenDiablo2/d2core/d2input/keychars_event.go

13 lines
217 B
Go
Raw Permalink Normal View History

2020-07-26 18:52:54 +00:00
package d2input
// KeyCharsEvent represents a key character event
type KeyCharsEvent struct {
HandlerEvent
chars []rune
}
// Chars returns the characters
func (e *KeyCharsEvent) Chars() []rune {
return e.chars
}