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