--[[
	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 StarterGui = game:GetService("StarterGui")
local UserInputService = game:GetService("UserInputService")

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

local userInterfaceFolder = ReplicatedStorage.Source.UserInterface

local views = {
	pregame = require(userInterfaceFolder.PreGame),
	pregameready = require(userInterfaceFolder.PreGameReady),
	game = require(userInterfaceFolder.Game),
	camera = require(userInterfaceFolder.Camera),
	postgame = require(userInterfaceFolder.PostGame)
}
local currentView

local UIController = {}
