--- @author DoomTero 2026

local ZomboRut = {}

local MODULES = {
	AnimationUtils   = "ZomboRut/ZomboRutAnimationUtils",
	Callbacks        = "ZomboRut/ZomboRutCallbacks",
	ContextMenu      = "ZomboRut/ZomboRutContextMenu",
	AnimationHandler = "ZomboRut/ZomboRutAnimationHandler",
	Scene            = "ZomboRut/ZomboRutScene",
	Scenes           = "ZomboRut/Scenes/ZR_Scenes",
}

for name, path in pairs(MODULES) do
	ZomboRut[name] = require(path)
end

for _, m in pairs(ZomboRut) do
	if type(m) == "table" then m.Client = ZomboRut end
end

function ZomboRut:IsMultiplayer()
	return getWorld():getGameMode() == "Multiplayer"
end

return ZomboRut
