diff options
Diffstat (limited to 'script/src/vm/manager.lua')
-rw-r--r-- | script/src/vm/manager.lua | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/script/src/vm/manager.lua b/script/src/vm/manager.lua new file mode 100644 index 00000000..b9762d2e --- /dev/null +++ b/script/src/vm/manager.lua @@ -0,0 +1,17 @@ +---@class VM +local mt = {} +mt.__index = mt +mt.type = 'vm' +mt._version = -1 + +---@param version integer +function mt:setVersion(version) + self._version = version +end + +---@return integer +function mt:getVersion() + return self._version +end + +return mt |