--[[
	The Ownership-class 
	
--]]


local Players = game:GetService("Players")
local Owners = {}

local Ownership = {}
Ownership.__index = Ownership

function Ownership.new(Model)
	assert(Model and Model.PrimaryPart, "Ownership.new(Model) requires a Model with a PrimaryPart!")
	local Data = {
		Model = Model,
		Owner = nil,
		_OwnerChangedEvent = nil,
		OwnerChanged = nil
	}
	
	local self = setmetatable(Data, Ownership)
	self._OwnerChangedEvent = Instance.new("BindableEvent")
	self.OwnerChanged = self._OwnerChangedEvent.Event
	
	return self
end
