UNPKG

@battle-racing/br-common-lib

Version:

Common library for all Battle Racing Repositorios

22 lines (21 loc) 640 B
import { CheckpointType } from '../checkpoint'; import type { FlagStatus } from './flag'; import type { RGBStatus } from './rgb'; import type { ScreenStatus } from './screen'; import type { SpeedStatus } from './speed'; export type KartHardwareState = { speed: { status: SpeedStatus; current: number; configured: number; } | null; rgb: RGBStatus | null; flag: { status: FlagStatus; checkpointType: CheckpointType | null; checkpointAddress: number | null; } | null; screen: ScreenStatus | null; isConnectedToServer: boolean; isSteeringWheelPressed: boolean; };