21 lines
321 B
Go
Executable File
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)
|
|
}
|
|
}
|