ISSUE-054 - Basic animating of the Timing Tower added.

Provided basic controls to switch between.
Still need to properly round the bottom rows of both the running and retired cars.
This commit is contained in:
Kyle Geib committed 2022-02-22 11:53:14 -05:00
1 parent 00d2c671cb
commit c9388b86fc
12 files changed
+204 -114

No files matched your search

+11 -5
View File
@@ -76,6 +76,8 @@ export interface Event {
progress: EventProgress;
leaderGridSpot: GridSpot;
grid: Grid;
// gridPositions: GridSpot[];
lastUpdate: number;
}
export interface EventProgress {
startTime: Milliseconds;
@@ -280,16 +282,20 @@ export enum BGStatusIndicatorModes {
// Timing Tower
export interface BGTimingTower {
open: OpenState;
mode: BGTimingTowerModes;
displayMode: BGTimingTowerDisplayModes;
splitsMode: BGTimingTowerSplitsMode,
focusedCars: Car[],
focusedCarsMode: BGTimingTowerFocusedCarsMode,
}
export enum BGTimingTowerModes {
Hidden, // Not on display.
Minimum, // Just the driver name abbrv.
export enum BGTimingTowerDisplayModes {
Hidden,
LeftOnly,
LeftAndRight,
FullLeft,
}
export enum BGTimingTowerSplitsMode {
Leader, // Leader timing.
Interval, // Interval timing.
FullName, // Displays full name.
}
export enum BGTimingTowerFocusedCarsMode {
None, // When no special treatments are made.