bitburner-src/utils/uiHelpers/removeLoadingScreen.ts

12 lines
414 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 {
// TODO: Have this manipulate CSS classes instead of direct styles
removeElementById("loader");
getElementById("entire-game-container").style.visibility = "visible";
}