Profectus-Demo/src/game/state.ts

15 lines
294 B
TypeScript
Raw Normal View History

import { reactive } from "vue";
2022-01-14 04:25:47 +00:00
export interface Transient {
lastTenTicks: number[];
hasNaN: boolean;
NaNPath?: string[];
NaNReceiver?: Record<string, unknown>;
}
export default window.state = reactive<Transient>({
lastTenTicks: [],
hasNaN: false,
2022-01-14 04:25:47 +00:00
NaNPath: []
});