UNPKG

@bitcobblers/wod-wiki-library

Version:

A specialized markdown-like workout syntax editor and runtime for defining workouts

18 lines (17 loc) 657 B
import { ITimerRuntime } from '../../ITimerRuntime'; import { IRuntimeBlock } from '../../IRuntimeBlock'; import { BubbleUpAction } from './base/BubbleUpAction'; /** * Action that navigates to the end state of the workout and propagates up the block hierarchy */ export declare class GotoEndAction extends BubbleUpAction { name: string; /** * Apply the goto end action to a specific block * This clears the stack first and then creates an end block * * @param runtime The timer runtime * @param block The block to apply the action to */ protected applyBlock(runtime: ITimerRuntime, block: IRuntimeBlock): void; }