summaryrefslogtreecommitdiff
path: root/script/vm/manager.lua
blob: b9762d2ecb7c7edec9c9e8f8e49a2d344eb5d98b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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