private static void gmBoss1Init1ShotTimer( AppMain.GMS_BOSS1_1SHOT_TIMER one_shot_timer, uint frame) { AppMain.MTM_ASSERT((object)one_shot_timer); one_shot_timer.timer = frame; one_shot_timer.is_active = true; }
private static bool gmBoss1Update1ShotTimer(AppMain.GMS_BOSS1_1SHOT_TIMER one_shot_timer) { AppMain.MTM_ASSERT((object)one_shot_timer); if (!one_shot_timer.is_active) { return(false); } if (one_shot_timer.timer != 0U) { --one_shot_timer.timer; return(false); } one_shot_timer.is_active = false; return(true); }