Skip to the content

Houseki宝石

Run five native gem and stone engines, play measured challenges and lessons, and save deterministic games.

Houseki (宝石) is Japanese for a gem or precious stone. About the name

Contents

Reference · Falling Triplets

releaseAllActionsfunction

Releases every held action after blur, pause, or pointer cancellation.

Import it

import { releaseAllActions } from "@johnmorrisdotca/houseki/falling-triplets";

Definition

function releaseAllActions(state: InputSchedulerState): InputSchedulerState

Parameters

NameTypeDescription
stateInputSchedulerState

The immutable native state to read or transition; the input is retained.

Returns

InputSchedulerState

Releases every held action after blur, pause, or pointer cancellation.

Examples

import { createInputScheduler, releaseAllActions } from "@johnmorrisdotca/houseki/falling-triplets";

const input=createInputScheduler();
console.log(releaseAllActions(input));
{ held: {}, queued: [] }

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/houseki 0.4.2.