Reference · Rockets, variants, parts and the fit check
DEFAULT_SPINconstant
The spin used when none is asked for: 180 seconds a turn, clockwise.
Import it
import { DEFAULT_SPIN } from "@johnmorrisdotca/uchusen-rockets";
Definition
const DEFAULT_SPIN: Spin = { seconds: 180, way: "cw" }
Members
| Name | Type | Description |
|---|---|---|
seconds | number | Seconds a turn, 0 for not at all. |
way | Way |
Examples
import { DEFAULT_SPIN } from "@johnmorrisdotca/uchusen-rockets";
console.log(DEFAULT_SPIN);{ seconds: 180, way: 'cw' }What it prints (run when this page was built)