Some more kinetic blocks
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user