From 56b3d85afaf260be93e46e2b930f79ade461789b Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Fri, 4 Jul 2025 23:55:19 +0200 Subject: Simple refactor --- main.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'main.go') diff --git a/main.go b/main.go index 3aea932..aef9968 100644 --- a/main.go +++ b/main.go @@ -35,11 +35,11 @@ type GlobalSelection struct { } type Game struct { - Entities []*Entity - CurrentAction Action - Selection GlobalSelection + Entities []*Entity + CurrentAction Action + Selection GlobalSelection ResourceAmount int - FaceSource *text.GoTextFaceSource + FaceSource *text.GoTextFaceSource } func DrawMove(screen *ebiten.Image, e *Entity) { @@ -186,7 +186,7 @@ func (g *Game) Draw(screen *ebiten.Image) { text.Draw(screen, resourceText, &text.GoTextFace{ Source: g.FaceSource, Size: 100, - } , op) + }, op) } func (g *Game) Layout(outsideWidth, outsideHeight int) (screenWidth, screenHeight int) { -- cgit v1.3