Release Healer Man 0.1.43
This commit is contained in:
1 parent
c7e8163790
commit
ccc01396cd
86 files changed
+2951
-198
No files matched your search
@@ -0,0 +1,9 @@
|
||||
import { createContext, useContext } from "react";
|
||||
import type { HudElementId, HudElementLayout } from "../game/uiLayout";
|
||||
|
||||
export const HudSurfaceContext = createContext<{
|
||||
surface: "top" | "bottom";
|
||||
onChange?: (id: HudElementId, update: Partial<HudElementLayout>) => void;
|
||||
onResurrect?: (checkpointId: string) => void;
|
||||
}>({ surface: "top" });
|
||||
export const useHudSurface = () => useContext(HudSurfaceContext);
|
||||
Reference in new issue
Block a user