Reference · Rockets, variants, parts and the fit check
PlaySteptype
One step the player reads: the slot, when it starts and how long it takes.
Import it
import type { PlayStep } from "@johnmorrisdotca/uchusen-rockets";
Definition
interface PlayStep {
slot: string;
start: number;
days: number;
}
Members
| Name | Type | Description |
|---|---|---|
slot | string | |
start | number | |
days | number |
Examples
import { playFrame, type PlayStep } from "@johnmorrisdotca/uchusen-rockets";
const step: PlayStep = { slot: "drive", start: 0, days: 10 };
console.log(playFrame([step], 0).going[0]);driveWhat it prints (run when this page was built)