immersive-home/app/lib/globals/main_store.gd

11 lines
359 B
GDScript3
Raw Permalink Normal View History

2024-01-25 17:29:33 +02:00
extends Node
2024-03-17 01:14:31 +02:00
## Collection of all the stores to save the state persistently
2024-01-25 17:29:33 +02:00
2024-03-17 01:14:31 +02:00
const SettingsStore = preload ("res://lib/stores/settings.gd")
const HouseStore = preload ("res://lib/stores/house.gd")
const DevicesStore = preload ("res://lib/stores/devices.gd")
2024-01-25 17:29:33 +02:00
2024-03-17 18:05:45 +02:00
var settings := SettingsStore.new()
var house := HouseStore.new()
var devices := DevicesStore.new()