1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-11-18 18:36:12 -05:00
OpenDiablo2/d2common/d2interface/input_manager.go
dk 60e6fcb7ac
moving enumerations out of d2interface (#552)
* moved filter constants back to d2enum

* moving key and mouse button enums into d2enum

* moving render type enum into d2enum

* moving input even priority enums into d2enum

* moving terminal enums into d2enum
2020-07-06 21:26:08 -04:00

12 lines
358 B
Go

package d2interface
import "github.com/OpenDiablo2/OpenDiablo2/d2common/d2enum"
// InputManager manages an InputService
type InputManager interface {
Advance(elapsedTime, currentTime float64) error
BindHandlerWithPriority(InputEventHandler, d2enum.Priority) error
BindHandler(h InputEventHandler) error
UnbindHandler(handler InputEventHandler) error
}