--[[ Gamestates/Multiplayer.lua Multiplayer menu by piernov Comment: created for an hypothetical Internet mode. ]]-- local Multiplayer = { Local = require "Gamestates/Multiplayer/Local"} local Gui = require "Quickie" local Utils = require "Utils" function Multiplayer:enter() Previous = "Gamestates/Menu" end function Multiplayer:update(dt) Gui.group{grow = "down", pos = {Utils.percentCoordinates(10, 10)}, function() if Gui.Button{text = "Local", size = {Utils.percentCoordinates(80, 20)}} then Gamestate.switch(Multiplayer.Local) end end} end function Multiplayer:draw() Gui.core.draw() end return Multiplayer