Some more kinetic blocks

This commit is contained in:
2026-10-28 22:10:48 -03:00
parent fa0748a9c5
commit b8cccb86ff
35 changed files with 670 additions and 73 deletions
+1 -4
View File
@@ -10,10 +10,7 @@ import { connected as connected_in, type Kinetic, neighbour_positions, type Pos,
import { type StressNode, type StressWorld, update_stress } from "./stress.ts";
// a kinetic block as the world keeps it
export interface KineticNode extends StressNode {
// the block next to it it gets its speed from. undefined for a still block, and for a generator turning it
readonly source?: Pos;
}
export type KineticNode = StressNode;
export interface KineticWorld extends StressWorld {
// undefined when what's there isn't kinetic