2020-10-07 21:20:05 -04:00
|
|
|
package d2interface
|
2020-07-14 12:11:23 -05:00
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/OpenDiablo2/OpenDiablo2/d2networking/d2client/d2clientconnectiontype"
|
|
|
|
)
|
|
|
|
|
2020-07-18 06:54:10 -07:00
|
|
|
// Navigator is used for transitioning between game screens
|
2020-07-14 12:11:23 -05:00
|
|
|
type Navigator interface {
|
2020-11-08 22:03:51 +03:00
|
|
|
ToMainMenu(errorMessageOptional ...string)
|
2020-07-14 12:11:23 -05:00
|
|
|
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()
|
2020-11-09 18:51:38 +01:00
|
|
|
ToCinematics()
|
2020-07-14 12:11:23 -05:00
|
|
|
}
|