feat: 로그 수집 기능 개선 및 도시 페널티 적용 로직 추가
This commit is contained in:
@@ -185,6 +185,9 @@ export const createTurnTestHarness = async (options: TurnTestHarnessOptions) =>
|
||||
runOneTick,
|
||||
runUntil,
|
||||
getCollectedLogs: () => [...collectedLogs],
|
||||
getCollectedLogsCount: () => collectedLogs.length,
|
||||
getCollectedLogsRange: (start: number, end?: number) =>
|
||||
collectedLogs.slice(start, end ?? collectedLogs.length),
|
||||
getAndClearCollectedLogs: () => collectedLogs.splice(0, collectedLogs.length),
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user