bitburner-src/utils/uiHelpers/removeLoadingScreen.ts

12 lines
408 B
TypeScript
Raw Normal View History

import { getElementById } from "./getElementById";
import { removeElementById } from "./removeElementById";
/**
* Routes the player from the Loading screen to the main game content.
*/
2021-05-01 09:17:31 +02:00
export function removeLoadingScreen(): void {
2021-09-05 01:09:30 +02:00
// TODO: Have this manipulate CSS classes instead of direct styles
removeElementById("loader");
getElementById("entire-game-container").style.visibility = "visible";
}