mirror of
https://github.com/GoodStartLabs/AI_Diplomacy.git
synced 2026-04-30 17:40:47 +00:00
Tool to show random moment in the game and skip to that turn.
Useful for testing the moment display, as well as comparing the moment to thestate of the game
This commit is contained in:
parent
16f4384c5a
commit
aa8ccf123d
3 changed files with 233 additions and 10 deletions
|
|
@ -7,6 +7,7 @@ import { updateNextMomentDisplay, initNextMomentTool } from "./nextMoment";
|
|||
import { initDebugProvinceHighlighting } from "./provinceHighlight";
|
||||
import { initInstantChatTool } from "./instantChat";
|
||||
import { initSpeechToggleTool } from "./speechToggle";
|
||||
import { initShowRandomMomentTool, updateMomentStatus } from "./showRandomMoment";
|
||||
|
||||
export class DebugMenu {
|
||||
private toggleBtn: HTMLButtonElement;
|
||||
|
|
@ -176,11 +177,13 @@ export class DebugMenu {
|
|||
initSpeechToggleTool(this);
|
||||
initInstantChatTool(this);
|
||||
initNextMomentTool(this);
|
||||
initShowRandomMomentTool(this);
|
||||
initDebugProvinceHighlighting()
|
||||
}
|
||||
|
||||
public updateTools(): void {
|
||||
updateNextMomentDisplay()
|
||||
updateNextMomentDisplay();
|
||||
updateMomentStatus();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue