--- Activates the client and their modules
-- @author QueuedResonance 2022

local Client = {
	ZombieHandler = require("ZomboWinDefeat/ZomboWinDefeatZombieHandler"),
	TraitsHandler = require("ZomboWinDefeat/ZomboWinDefeatTraitsHandler"),
}

local function Init()
	--- Injects the Client data to all modules so they too can access the other modules without going through global
	for _, module in pairs(Client) do
		module.Client = Client
	end
end

Init()

--- Helper function to determine if this is a solo or multiplayer game
function Client:IsMultiplayer()
	if isClient() == false and isServer() == false then
		return false
	end
	return true
end

return Client