aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorMartin Kagamino Lehoux <martin@lehoux.net>2023-10-09 07:06:47 +0200
committerMartin Kagamino Lehoux <martin@lehoux.net>2023-10-09 07:06:47 +0200
commit0a64a4bdb028449bc3852887b1f54f397e40cf90 (patch)
tree470b07f333f0fa8fa47e9bf7b1fde90f7a1b1878 /main.go
parentad119e88258cf6add42c9570b7a2b7b591fd0b99 (diff)
refactor: Rename const
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 3f03210..8ed3133 100644
--- a/main.go
+++ b/main.go
@@ -191,7 +191,7 @@ func main() {
game.Entities = append(game.Entities, &storage)
var order Order
personImage := NewFilledCircleImage(100, color.RGBA{0xff, 0xff, 0xff, 0xff})
- personSelectionHalo := NewStrokeCircleImage(110, SELECTION_HALO_SIZE, color.RGBA{0xff, 0x00, 0x00, 0xff})
+ personSelectionHalo := NewStrokeCircleImage(110, SELECTION_HALO_WIDTH, color.RGBA{0xff, 0x00, 0x00, 0xff})
person1 := Entity{
Position: C(Point{2000, 2000}),
Image: C(personImage),