local L={}function L.new(p)local A=setmetatable({},{__index=L})return A end function L.equipped(p,L) end function L.applyStats(p,L)local A={}for L,p in pairs(L)do A[L]=p end return A end function L.unequipped(L) end function L.destroy(L) end return L
local EquipmentBehavior = {}

function EquipmentBehavior.new(assetId)
    local self = setmetatable({},{__index = EquipmentBehavior})
    return self
end

function EquipmentBehavior:equipped(player)
    -- equipped to player
end

function EquipmentBehavior:applyStats(stats)
    local statChanges = {}

    -- shallow copy stats
    for k,v in pairs(stats) do
        statChanges[k] = v
    end

    return statChanges
end

function EquipmentBehavior:unequipped()
    -- unequipped from player
end

function EquipmentBehavior:destroy()
    -- discarded after unequip
end

return EquipmentBehavior