1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-07-08 14:24:34 -04:00
OpenDiablo2/d2core/game_state.go

23 lines
297 B
Go
Raw Normal View History

2019-11-10 03:36:53 -05:00
package d2core
import (
"log"
"time"
)
type GameState struct {
Seed int64
}
func CreateGameState() *GameState {
result := &GameState{
Seed: time.Now().UnixNano(),
}
return result
}
func LoadGameState(path string) *GameState {
log.Fatal("LoadGameState not implemented.")
return nil
}