structure tweaks

This commit is contained in:
2023-07-02 19:58:41 +02:00
parent 293c8f407e
commit d55c080243
4 changed files with 12 additions and 21 deletions

View File

@@ -7,14 +7,16 @@ import (
)
type Logic struct {
Konstructor *Konstructor
Domain DomainInterface
Controller *Controller
Settings *Settings
}
func (l *Logic) Update(screen *ebiten.Image) {
}
func (l *Logic) Draw(screen *ebiten.Image) {
if l.Konstructor.Controller.UpPressed() {
if l.Controller.UpPressed() {
screen.Fill(color.White)
}
}