// ================================================================ // // 디버그 창 생성시에 호출. public override void createDebugWindow(dbwin.Window window) { window.createButton("보스 쓰러뜨리기") .setOnPress(() => { this.boss.causeVanish(); }); window.createButton("보스의 적 리스트 갱신") .setOnPress(() => { this.boss.updateTargetPlayers(); }); }
protected float time_limit = 30.0f; // [sec] 제한시간(임시). // ================================================================ // // 디버그 창 생성 시 호출. public override void createDebugWindow(dbwin.Window window) { window.createButton("케이크 타임 끝") .setOnPress(() => { this.step.do_execution(this.time_limit); }); }
//=================================================================== // 디버그 창 생성 시에 호출. public override void createDebugWindow(dbwin.Window window) { window.createButton("다음 플로어로") .setOnPress(() => { switch (this.step.get_current()) { case STEP.IN_ACTION: { this.step.set_next(STEP.FINISH); } break; } }); }
//=================================================================== // 디버그 윈도 생성 시에 호출. public override void createDebugWindow(dbwin.Window window) { window.createButton("클리어").setOnPress(() => { this.step.set_next(STEP.FINISH); }); }