Совместить bot snapshot с lifecycle состоянием

This commit is contained in:
2026-08-18 01:06:41 +03:00
parent 77800d640a
commit 9c1bf331c0
@@ -95,6 +95,10 @@ public final class LevelPlaytestBotTest {
completed, completed,
true, true,
false, false,
false,
moveLeft || moveRight,
startedLevel,
nowMillis,
100f, 100f,
760f, 760f,
deaths, deaths,
@@ -144,7 +148,8 @@ public final class LevelPlaytestBotTest {
@Override @Override
public GameView.AutomationSnapshot snapshot() { public GameView.AutomationSnapshot snapshot() {
return new GameView.AutomationSnapshot( return new GameView.AutomationSnapshot(
completed, alive, doorOpen, x, 760f, deaths, corpses); completed, alive, doorOpen, false, moveRight || jump,
startedLevel, nowMillis, x, 760f, deaths, corpses);
} }
@Override @Override