forked from profectus/Profectus
Move board to src/game
This commit is contained in:
parent
ad421ac759
commit
2cfa450d96
8 changed files with 9 additions and 8 deletions
|
@ -1,7 +1,7 @@
|
|||
import Board from "features/boards/Board.vue";
|
||||
import CircleProgress from "features/boards/CircleProgress.vue";
|
||||
import SVGNode from "features/boards/SVGNode.vue";
|
||||
import SquareProgress from "features/boards/SquareProgress.vue";
|
||||
import Board from "game/boards/Board.vue";
|
||||
import CircleProgress from "game/boards/CircleProgress.vue";
|
||||
import SVGNode from "game/boards/SVGNode.vue";
|
||||
import SquareProgress from "game/boards/SquareProgress.vue";
|
||||
import {
|
||||
NodePosition,
|
||||
makeDraggable,
|
||||
|
@ -9,7 +9,7 @@ import {
|
|||
setupActions,
|
||||
setupDraggableNode,
|
||||
setupUniqueIds
|
||||
} from "features/boards/board";
|
||||
} from "game/boards/board";
|
||||
import { jsx } from "features/feature";
|
||||
import { createResource } from "features/resources/resource";
|
||||
import { createUpgrade } from "features/upgrades/upgrade";
|
||||
|
|
|
@ -91,3 +91,4 @@ function onInit(panzoomInstance: PanZoom) {
|
|||
margin: -50px -10px;
|
||||
}
|
||||
</style>
|
||||
game/boards/board
|
|
@ -1,5 +1,5 @@
|
|||
import Board from "features/boards/Board.vue";
|
||||
import Draggable from "features/boards/Draggable.vue";
|
||||
import Board from "./Board.vue";
|
||||
import Draggable from "./Draggable.vue";
|
||||
import { Component, GatherProps, GenericComponent, jsx } from "features/feature";
|
||||
import { globalBus } from "game/events";
|
||||
import { Persistent, persistent } from "game/persistence";
|
|
@ -3,7 +3,7 @@ import {
|
|||
placeInAvailableSpace,
|
||||
setupUniqueIds,
|
||||
unwrapNodeRef
|
||||
} from "features/boards/board";
|
||||
} from "game/boards/board";
|
||||
import { beforeEach, describe, expect, test } from "vitest";
|
||||
import { Ref, ref } from "vue";
|
||||
import "../utils";
|
||||
|
|
Loading…
Reference in a new issue