diff options
| author | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-05-07 10:38:56 +0200 |
|---|---|---|
| committer | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-05-07 10:38:56 +0200 |
| commit | 5c2d9ea10c9ed41fee41067c6d0d8d7fade8297c (patch) | |
| tree | 65c762f6c01dd90e6102f82f7d6f5e777e4ad73d | |
| parent | 2dc0e353fdd2752348b5bb7da17c76ddf30466f5 (diff) | |
Change patrol shortcut from A to Q
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
| -rw-r--r-- | README.md | 1 | ||||
| -rw-r--r-- | draw.go | 2 | ||||
| -rw-r--r-- | main.go | 2 |
3 files changed, 2 insertions, 3 deletions
@@ -24,7 +24,6 @@ - [ ] abstraction between ebiten and update to handle inputs in a simulation? - [ ] getMoveMap could be a maintained index - [ ] entityAt could be a maintained index -- [ ] KeyPatrolRequest shortcut should be Q ## Bugs @@ -112,7 +112,7 @@ func drawBottomBanner(screen *ebiten.Image, g *Game) { bannerTop := screenBounds.Dy() - int(bannerHeight) vector.DrawFilledRect(screen, 0, float32(bannerTop), float32(screenBounds.Dx()), bannerHeight, color.White, true) - shortcuts := "[Right-click] Action [A] Patrol [Esc] Deselect" + shortcuts := "[Right-click] Action [Q] Patrol [Esc] Deselect" for _, i := range g.GlobalSelection.Selected { if g.Mask[i]&ecs.CM_Spawn == ecs.CM_Spawn { shortcuts += " [S] Spawn unit" @@ -111,7 +111,7 @@ func getAllStorageDockings(g *Game) []physics.Point { const ( KeySpawnRequest = ebiten.KeyS - KeyPatrolRequest = ebiten.KeyA + KeyPatrolRequest = ebiten.KeyQ ) func (g *Game) updateSelecting(cursor physics.Point, moveMap physics.MoveMap) { |
