local y=require(script.Parent.Parent.Packages.Cryo)local P=require(script.Parent.Parent.Constants)local X={}X.__index=X function X.new(y)if not y then warn("\073\110\118\097\108\105\100 \112\108\097\121\101\114 \113\117\111\116\097 \112\097\115\115\101\100\058",y)end local P={placedSpots={},quota=y;toRemove=nil}setmetatable(P,X)return P end

local Cryo = require(script.Parent.Parent.Packages.Cryo)
local constants = require(script.Parent.Parent.Constants)

local PlayerSpots = {}
PlayerSpots.__index = PlayerSpots

function PlayerSpots.new(quota)
	if not quota then
		warn("Invalid player quota passed:", quota)
	end

	local self = {
		-- Table of { canvas, spot, createdAt } that a player has placed surface art in
		placedSpots = {},

		-- Maximum number of artwork that we can place for a player
		quota = quota,

		-- Index of spot to remove if player exceeds quota - this is set during spot assignment
		toRemove = nil,
	}

	setmetatable(self, PlayerSpots)

	return self
end
