diff options
Diffstat (limited to 'src/link.js')
-rw-r--r-- | src/link.js | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/link.js b/src/link.js index 7d10413..e0c8266 100644 --- a/src/link.js +++ b/src/link.js @@ -3,15 +3,14 @@ import { Vector2 } from "./engine/visual/vector2.js" import { board } from "./board.js" import { ASSETS_BLACK, ASSETS_WHITE, PLAYER } from "./constants.js" import { Stone } from "./stone.js" -import { nextTurn, turn } from "./engine/turns.js" - +import { nextTurn, playerTurn } from "./engine/turns.js" export class Link { constructor({ position = new Vector2(0, 0), }) { - this.team = turn + this.team = playerTurn this.position = position this.createSpan() @@ -43,7 +42,7 @@ export class Link { let response = placeOnBoard({ position: this.position, board_size: board.size, - use_real_size: true, + use_link_size: true, }) this.span.style.left = response.left |