mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-09-06 11:34:15 -04:00
* Disallow clicking through the help menu to control the game * Move Navigator and EscapeMenu up in package tree to be accessible by GameControls. Disallow GameControls input when EscapeMenu is open * Make ESC key behavior more consistent with D2
16 lines
549 B
Go
16 lines
549 B
Go
package d2interface
|
|
|
|
import (
|
|
"github.com/OpenDiablo2/OpenDiablo2/d2networking/d2client/d2clientconnectiontype"
|
|
)
|
|
|
|
// Navigator is used for transitioning between game screens
|
|
type Navigator interface {
|
|
ToMainMenu()
|
|
ToSelectHero(connType d2clientconnectiontype.ClientConnectionType, connHost string)
|
|
ToCreateGame(filePath string, connType d2clientconnectiontype.ClientConnectionType, connHost string)
|
|
ToCharacterSelect(connType d2clientconnectiontype.ClientConnectionType, connHost string)
|
|
ToMapEngineTest(region int, level int)
|
|
ToCredits()
|
|
}
|