summaryrefslogtreecommitdiff
path: root/server/src/emmy/generic.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/emmy/generic.lua')
-rw-r--r--server/src/emmy/generic.lua27
1 files changed, 0 insertions, 27 deletions
diff --git a/server/src/emmy/generic.lua b/server/src/emmy/generic.lua
deleted file mode 100644
index 82fd0c4b..00000000
--- a/server/src/emmy/generic.lua
+++ /dev/null
@@ -1,27 +0,0 @@
-local listMgr = require 'vm.list'
-
----@class EmmyGeneric
-local mt = {}
-mt.__index = mt
-mt.type = 'emmy.generic'
-
-function mt:getName()
- return self.name:getName()
-end
-
-function mt:setValue(value)
- self._value = value
-end
-
-function mt:getValue()
- return self._value
-end
-
-return function (manager, defs)
- for _, def in ipairs(defs) do
- setmetatable(def, mt)
- def._manager = manager
- def._binds = {}
- end
- return defs
-end