TargetToolActiontype
Previews a selected Gem Swap tool on one row-major cell.
Import it
import type { TargetToolAction } from "@johnmorrisdotca/houseki/gem-swap";
Definition
interface TargetToolAction {
readonly kind: 'target-tool';
readonly cell: number;
}
Members
| Name | Type | Description |
|---|---|---|
kind | "target-tool" | |
cell | number |
Examples
import type { TargetToolAction } from "@johnmorrisdotca/houseki/gem-swap";
const value: TargetToolAction = {kind:"target-tool",cell:0};
console.log(value == null ? value : typeof value === "object" ? Object.keys(value).slice(0,6) : value);[ 'kind', 'cell' ]What it prints (run when this page was built)