Совместить bot snapshot с lifecycle состоянием
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user