between-api-minetest/init.lua

46 lines
927 B
Lua

--- -----------------------------------------------------------
--- @package BeTweenApi
--- @license MIT
--- @author GianptDev (_gianpy_)
--- @release 1.2.1
--- @meta
--- -----------------------------------------------------------
--- the table that contain everything about BeTween Api
--- @class BeTweenApi
BeTweenApi = {}
--- return the current version as a string.
--- @return string
function BeTweenApi.version_name ()
return "1.2.1"
end
--- -----------------------------------------------------------
--- get the folder name of the current mod.
--- @type string
local path = minetest.get_modpath(minetest.get_current_modname())
-- import all the content.
dofile(path .. "/src/interpolation.lua")
dofile(path .. "/src/tween.lua")
dofile(path .. "/src/globalsteps.lua")
dofile(path .. "/src/commands.lua")
dofile(path .. "/src/debug.lua")
--- -----------------------------------------------------------