rename presenter to constructor (memoriem of Last Ninja)

This commit is contained in:
2023-06-30 17:16:17 +02:00
parent bd63d00ad9
commit dec8ad2fe0
5 changed files with 11 additions and 11 deletions

10
main.go
View File

@@ -1,8 +1,8 @@
package main
import (
"game/constructor"
"game/domain"
"game/presenter"
"github.com/hajimehoshi/ebiten"
)
@@ -18,10 +18,10 @@ func main() {
},
},
}
presenter := presenter.Presenter{
constructor := constructor.Constructor{
Domain: domain,
Keyboard: presenter.Keyboard{
KeyMap: presenter.KeyMap{
Keyboard: constructor.Keyboard{
KeyMap: constructor.KeyMap{
Up: ebiten.KeyUp,
Down: ebiten.KeyDown,
Right: ebiten.KeyRight,
@@ -33,5 +33,5 @@ func main() {
},
},
}
presenter.Init()
constructor.Init()
}