refactor: generator
This commit is contained in:
@@ -16,7 +16,7 @@ func New(storage storage.Storage) Server {
|
||||
return Server{storage: storage}
|
||||
}
|
||||
|
||||
func (s Server) CreateGame(gameParam game.GameParameter, mapParam generator.MapParameter) (game.Game, error) {
|
||||
_ = generator.Generate(mapParam)
|
||||
func (s Server) CreateGame(gameParam game.GameParameter, mapParam generator.MapSetting) (game.Game, error) {
|
||||
_, _ = generator.Generate(mapParam)
|
||||
return game.Game{}, errors.New("not yet implemented")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user