WIP: Feature Rewrite #87

Draft
thepaperpilot wants to merge 35 commits from feat/ure-rewrite into main
8 changed files with 9 additions and 8 deletions
Showing only changes of commit e0da9588d2 - Show all commits

View file

@ -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";

View file

@ -91,3 +91,4 @@ function onInit(panzoomInstance: PanZoom) {
margin: -50px -10px;
}
</style>
game/boards/board

View file

@ -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";

View file

@ -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";