Added constructor

This commit is contained in:
2025-05-06 13:43:36 +02:00
parent 515e982eca
commit cdea8c8e82

View File

@@ -2,6 +2,11 @@
Core = {};
Core.__index = Core;
function Core:new()
local self = setmetatable({}, Core);
return self;
end
function Core:connect()
ws, err = assert(http.websocket("ws://localhost:8080"));