SyntaxGameServer/RCCService2018/content/LuaPackages/OtterImpl/instant.lua

15 lines
218 B
Lua

local function step(self, state, dt)
return {
value = self.__targetValue,
complete = true,
}
end
local function instant(targetValue)
return {
__targetValue = targetValue,
step = step,
}
end
return instant