deleted tests
This commit is contained in:
parent
123885b2b3
commit
e7e4071931
11
main.lua
11
main.lua
@ -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()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user