summaryrefslogtreecommitdiff
path: root/src/link.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/link.js')
-rw-r--r--src/link.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/link.js b/src/link.js
index e0c8266..192f1e9 100644
--- a/src/link.js
+++ b/src/link.js
@@ -1,5 +1,5 @@
import { placeOnBoard } from "./engine/visual/placeOnBoard.js"
-import { Vector2 } from "./engine/visual/vector2.js"
+import { Vector2 } from "./engine/vector2.js"
import { board } from "./board.js"
import { ASSETS_BLACK, ASSETS_WHITE, PLAYER } from "./constants.js"
import { Stone } from "./stone.js"
@@ -17,6 +17,7 @@ export class Link {
board.links[position.y][position.x] = this
this.span.addEventListener("click", _ => {
+ console.log("link position", this.position)
new Stone({
position: position,
team: this.team