@bitcobblers/wod-wiki-library
Version:
A specialized markdown-like workout syntax editor and runtime for defining workouts
30 lines (29 loc) • 1.17 kB
TypeScript
import { IRuntimeAction } from '../../IRuntimeAction';
import { ITimerRuntime } from '../../ITimerRuntime';
import { JitStatement } from '../../JitStatement';
import { RuntimeBlock } from './RuntimeBlock';
export declare class RepeatingBlock extends RuntimeBlock {
private childIndex;
private roundIndex;
private lastLap;
constructor(source: JitStatement[]);
/**
* Implementation of the doEnter hook method from the template pattern
*/ protected onEnter(runtime: ITimerRuntime): IRuntimeAction[];
/**
* Implementation of the doNext hook method from the template pattern
*/
protected onNext(runtime: ITimerRuntime): IRuntimeAction[];
/**
* Implementation of the doLeave hook method from the template pattern
*/
protected onLeave(_runtime: ITimerRuntime): IRuntimeAction[];
/**
* Implementation of the onBlockStart hook method from the template pattern
*/
protected onBlockStart(_runtime: ITimerRuntime): IRuntimeAction[];
/**
* Implementation of the onBlockStop hook method from the template pattern
*/
protected onBlockStop(_runtime: ITimerRuntime): IRuntimeAction[];
}