constructor stucture fixes

This commit is contained in:
2023-06-30 17:44:19 +02:00
parent dec8ad2fe0
commit 0ed8cfb839
6 changed files with 63 additions and 53 deletions

View File

@@ -2,7 +2,6 @@ package constructor
import (
"bytes"
"fmt"
"image"
"io/ioutil"
"log"
@@ -21,7 +20,6 @@ func LoadImage(path string) *ebiten.Image {
img, _, err := image.Decode(bytes.NewReader(file))
if err != nil {
fmt.Println("decode error")
log.Fatal(err)
}