Files
gorpg/konstructor/logic.go
2023-07-01 00:50:12 +02:00

21 lines
321 B
Go
Executable File

package konstructor
import (
"image/color"
"github.com/hajimehoshi/ebiten"
)
type Logic struct {
Konstructor *Konstructor
}
func (l *Logic) Update(screen *ebiten.Image) {
}
func (l *Logic) Draw(screen *ebiten.Image) {
if l.Konstructor.Controller.UpPressed() {
screen.Fill(color.White)
}
}