@bitcobblers/wod-wiki-library
Version:
A specialized markdown-like workout syntax editor and runtime for defining workouts
20 lines (19 loc) • 682 B
TypeScript
import { IRuntimeEvent } from '../../IRuntimeEvent';
import { ITimerRuntime } from '../../ITimerRuntime';
import { IRuntimeBlock } from '../../IRuntimeBlock';
import { BubbleUpAction } from './base/BubbleUpAction';
/**
* Action that starts a timer and propagates up the block hierarchy
*/
export declare class StartTimerAction extends BubbleUpAction {
private event;
constructor(event: IRuntimeEvent);
name: string;
/**
* Apply the start timer action to a specific block
*
* @param runtime The timer runtime
* @param block The block to apply the action to
*/
protected applyBlock(runtime: ITimerRuntime, block: IRuntimeBlock): void;
}