-- Compiled with roblox-ts v1.2.7 local TS = _G[script] local TicTacToeSymbol = TS.import(script, script.Parent, "enum", "TicTacToeSymbol").TicTacToeSymbol --[[ * * The representation of a TicTacToe cell. ]] local TicTacToeCell do TicTacToeCell = setmetatable({}, { __tostring = function() return "TicTacToeCell" end, }) TicTacToeCell.__index = TicTacToeCell function TicTacToeCell.new(...) local self = setmetatable({}, TicTacToeCell) return self:constructor(...) or self end function TicTacToeCell:constructor(row, col, symbol) self.row = row self.col = col self.symbol = symbol end function TicTacToeCell:empty(row, col) return TicTacToeCell.new(row, col, TicTacToeSymbol.EMPTY) end function TicTacToeCell:isEmpty() return self.symbol == TicTacToeSymbol.EMPTY end function TicTacToeCell:getRow() return self.row end function TicTacToeCell:getCol() return self.col end function TicTacToeCell:getSymbol() return self.symbol end end return { TicTacToeCell = TicTacToeCell, }