diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2025-07-19 18:38:05 -0400 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2025-08-20 15:57:25 +0200 |
| commit | 5af1145d2cfe50fcd61098f3bbc853ef06cbf04e (patch) | |
| tree | e4e9ad2f60e25736527a8ceb6a68470428fba5cb /go | |
| parent | c7289b4d4a605be3bb6dacafd0cd8e77fa549861 (diff) | |
| download | muhqs-game-5af1145d2cfe50fcd61098f3bbc853ef06cbf04e.tar.gz muhqs-game-5af1145d2cfe50fcd61098f3bbc853ef06cbf04e.zip | |
change move action representation
Diffstat (limited to 'go')
| -rw-r--r-- | go/game/action.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/go/game/action.go b/go/game/action.go index 1d34a843..44fdd97e 100644 --- a/go/game/action.go +++ b/go/game/action.go @@ -526,12 +526,12 @@ func newArtifactMoveAction(u *Unit, artifact Permanent) *ArtifactMoveAction { func (a *ArtifactMoveAction) String() string { if !a.Targets().HasSelections() { - return fmt.Sprintf("%v move %v", a.Source().(*Unit), a.Artifact) + return fmt.Sprintf("%v -(%v)>", a.Source().(*Unit), a.Artifact) } t1 := targetTile(a.Targets().ts[0]) t2 := targetTile(a.Targets().ts[1]) - return fmt.Sprintf("%v,%v -> %v,%v", a.Source().(*Unit), a.Artifact, t1, t2) + return fmt.Sprintf("%v -(%v)> %v,%v", a.Source().(*Unit), a.Artifact, t1, t2) } type FullAction struct { |
