deleted tests

This commit is contained in:
neckrat 2025-11-11 00:01:42 +03:00
parent 123885b2b3
commit e7e4071931

View File

@ -40,17 +40,6 @@ function love.update(dt)
Tree.level.turnOrder:toggleTurns()
end
-- для тестов camera:animateTo
-- удалить как только потребность в тестах исчезнет
if Tree.controls:isJustPressed("cameraAnimateTo") then
local mousePosition = Tree.level.camera:toWorldPosition(Vec3 { love.mouse.getX(), love.mouse.getY() })
require('lib.animation_node') {
function(animationNode) Tree.level.camera:animateTo(mousePosition, animationNode) end,
onEnd = function() print('completed') end,
easing = require("lib.utils.easing").easeInOutCubic
}:run()
end
Tree.controls:cache()
local t2 = love.timer.getTime()