diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2020-07-11 00:07:56 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2020-07-11 00:07:56 +0200 |
commit | 7fca7e65985deb24d51041d30fb8ea6ed2bd8571 (patch) | |
tree | 1c0b918d97b9122a9e1b091654bc5b441609e7c0 /Piece.gd | |
parent | 35b1995824bbc3e35ed2488e4034cc6b47c2bc76 (diff) | |
download | godot-hexgrid-7fca7e65985deb24d51041d30fb8ea6ed2bd8571.zip godot-hexgrid-7fca7e65985deb24d51041d30fb8ea6ed2bd8571.tar.gz |
properly implement road march
Diffstat (limited to 'Piece.gd')
-rw-r--r-- | Piece.gd | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -13,7 +13,7 @@ func road_march_bonus() -> int: func move_cost(src : Tile, dst : Tile, a : int) -> int: print("Piece#move_cost() must be overriden in a subclass") - return 1 + return -1 # impracticable func at_least_one_tile() -> bool: print("Piece#at_least_one_tile() must be overriden in a subclass") |