chore(main): docs & disable resizable window

This commit is contained in:
2025-09-30 01:02:11 +07:00
parent 7cb9feaead
commit c4c8235f45

View File

@ -6,10 +6,18 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import static org.vibecoders.moongazer.Constants.*;
/**
* Main entry point for the Moongazer game application.
*/
public class Main {
private static final Logger log = LoggerFactory.getLogger(Main.class);
/**
* Launches the game application with specified configuration.
*
* @param args Command line arguments
*/
public static void main(String[] args) {
Lwjgl3ApplicationConfiguration cfg = new Lwjgl3ApplicationConfiguration();
cfg.setTitle(WINDOW_TITLE);
@ -17,6 +25,7 @@ public class Main {
cfg.useVsync(true);
cfg.setIdleFPS(10);
cfg.setWindowIcon("icons/logo.png");
cfg.setResizable(false);
log.info("Starting game client...");
new Lwjgl3Application(new Game(), cfg);
}