feat(environment): add wind-driven cloud system

This commit is contained in:
Tom Boullay
2026-05-27 00:33:53 +02:00
parent a6787a7ecb
commit 4ebb5b8c25
6 changed files with 250 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
import { useWorldSettingsStore } from "@/managers/stores/useWorldSettingsStore";
import type { CloudState } from "@/data/world/cloudConfig";
export function useCloudSettings(): CloudState {
return useWorldSettingsStore((state) => state.clouds);
}
export function useSetCloudSettings(): (clouds: Partial<CloudState>) => void {
return useWorldSettingsStore((state) => state.setClouds);
}