--[[
	Controller that sets different user interface views for the client. Listens to player state updates, creating and
	destructing views as necessary.
]]

local ReplicatedStorage = game:GetService("ReplicatedStorage")

local Logger = require(ReplicatedStorage.Dependencies.GameUtils.Logger)

local UIViews = ReplicatedStorage.Source.UIViews

local views = {
	pregame = require(UIViews.PreGame),
	warmup = require(UIViews.Warmup),
	game = require(UIViews.Game),
	spectating = require(UIViews.Spectating),
	postGame = require(UIViews.PostGame)
}

local currentView

local UIController = {}
