/* 文件名:Game_Window_Class.nut 路径:BaseClass/Game_Window_Class.nut 创建日期:2024-11-07 16:06 文件用途:游戏窗口类 */ class GameWindow { //窗口标题 title = "Yosin&Kiwano"; //背景色 bg_color = null; //窗口大小 size = null; //垂直同步 v_sync = true; //帧率 frame_interval = 144; //调试模式 debug_mode = false; constructor() { bg_color = [255.0, 255.0, 255.0, 255.0]; size = [1280, 720]; } function Run(Func) { WindowRun(title, bg_color, size, v_sync, frame_interval, debug_mode, Func); } }