Planar-Pioneers/src/game/state.ts
2022-01-24 22:25:34 -06:00

14 lines
308 B
TypeScript

import { shallowReactive } from "vue";
export interface Transient {
lastTenTicks: number[];
hasNaN: boolean;
NaNPath?: string[];
NaNReceiver?: Record<string, unknown>;
}
export default window.state = shallowReactive<Transient>({
lastTenTicks: [],
hasNaN: false,
NaNPath: []
});