step-sequence-generator
Version:
A step sequence generator for figure skating programs
42 lines (41 loc) • 1.56 kB
TypeScript
import { Edge, Leg, MovementCharacter, RotationDegree, RotationDirection, TransitionDirection } from '../../shared/enums/movement-enums.js';
import { TurnAbsoluteName } from '../../shared/enums/turn-absolute-name.enum';
export interface IMovement {
readonly id: string;
readonly name: string;
readonly transitionDirection: TransitionDirection;
readonly rotationDirection: RotationDirection;
readonly rotationDegree: RotationDegree;
readonly startLeg: Leg;
readonly endLeg: Leg;
readonly isChangeLeg: boolean;
readonly startEdge: Edge;
readonly endEdge: Edge;
readonly isChangeEdge: boolean;
readonly isSpeedIncrease: boolean;
readonly isDifficult: boolean;
readonly type: MovementCharacter;
readonly description: string;
readonly absoluteName: TurnAbsoluteName;
readonly distance: number;
}
export declare class Movement implements IMovement {
readonly id: string;
readonly name: string;
readonly transitionDirection: TransitionDirection;
readonly rotationDirection: RotationDirection;
readonly rotationDegree: RotationDegree;
readonly startLeg: Leg;
readonly endLeg: Leg;
readonly isChangeLeg: boolean;
readonly startEdge: Edge;
readonly endEdge: Edge;
readonly isChangeEdge: boolean;
readonly isSpeedIncrease: boolean;
readonly isDifficult: boolean;
readonly type: MovementCharacter;
readonly description: string;
readonly absoluteName: TurnAbsoluteName;
readonly distance: number;
constructor(movement: IMovement);
}