luncher/lib/tiny-types.lua

31 lines
497 B
Lua

---@meta
---@class World
World = {}
function World:add(...) end
function World:addEntity(entity) end
function World:addSystem(system) end
function World:remove(...) end
function World:removeEntity(entity) end
function World:removeSystem(system) end
function World:refresh() end
function World:update() end
function World:clearEntities() end
function World:clearSystems() end
function World:getEntityCount() end
function World:getSystemCount() end
function World:setSystemIndex() end