Change imports

This commit is contained in:
2026-11-04 21:51:26 -03:00
parent 98fa45ebd1
commit ba4b2a8798
270 changed files with 994 additions and 994 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
// how chain drives join into lines: each keeps where it is in its line (start, middle, end, or none on its own) and
// which way the line goes, and changes them as chain drives beside it come and go, like ChainDriveBlock.updateShape.
// no ctx, so placing and neighbor rules both use it
import type { Face } from "bworld/shared";
import type { Face } from "cubi/shared";
import { type Axis, chain_axis, type ChainPart, face_axis, positive } from "./connections.ts";
// a chain drive's states that matter for its line
+1 -1
View File
@@ -4,7 +4,7 @@
// what turns, and what turns what: a kinetic block's axis and the ends of it with an axle, and how fast one block turns
// the one next to it, like create's IRotate and RotationPropagator.getRotationSpeedModifier. no ctx, so placement
// rules, the server and visuals all read blocks the same way
import type { Face } from "bworld/shared";
import type { Face } from "cubi/shared";
export type Axis = "x" | "y" | "z";
export type Pos = readonly [number, number, number];
+1 -1
View File
@@ -3,7 +3,7 @@
// what decides how fast generators turn: water flowing past a water wheel, and the creative motor's speed as it's
// scrolled through. no ctx, so tests can call them directly
import type { Position } from "bworld/shared";
import type { Position } from "cubi/shared";
import { AXES, type Axis, face_axis, FACE_OFFSETS, FACINGS, type Pos } from "./connections.ts";
// which way water around a wheel on axis at at turns it: 1 for counterclockwise seen from the axis's positive end, -1