defmodule Odinsea.World.Supervisor do @moduledoc """ Supervisor for the game world services. Manages parties, guilds, families, and global state. """ use Supervisor def start_link(init_arg) do Supervisor.start_link(__MODULE__, init_arg, name: __MODULE__) end @impl true def init(_init_arg) do children = [ # World state Odinsea.World, # Party management Odinsea.World.Party, # Guild management Odinsea.World.Guild, # Family management Odinsea.World.Family, # Expedition management Odinsea.World.Expedition, # Messenger system Odinsea.World.Messenger ] Supervisor.init(children, strategy: :one_for_one) end end