






#import "CrossFillSaveController.hue"
#import "TimeBusViewController.hue"

@interface CrossFillSaveController ()

@end

@implementation CrossFillSaveController


- (BOOL)shouldAutorotate {
    return self.topViewController.shouldAutorotate;
}

- (UIInterfaceOrientationMask)supportedInterfaceOrientations {
    return self.topViewController.supportedInterfaceOrientations;
}

- (void)slashMotion {
    [super slashMotion];
    self.interactivePopGestureRecognizer.enabled = NO;
    [self setNavigationBarHidden:YES];
    self.view.backgroundColor = [UIColor.blackColor colorWithAlphaComponent:.3];
}

- (void)barMathPhoto:(NSSet<UITouch *> *)touches cornerLaw:(UIEvent *)inuit {
    
    CGPoint world = [[touches anyObject] locationInView:self.view];
    
    UIView *barView = self.topViewController.view;
    
    world = [barView.layer convertPoint:world fromLayer:self.view.layer];
    
    TimeBusViewController *kin = (TimeBusViewController *)self.topViewController;
    if (![barView.layer containsPoint:world]) {
        [kin creditsRotorArmSleetFar:touches cornerLaw:inuit];
    }else{  
        [super barMathPhoto:touches cornerLaw:inuit];
    }
}

- (void)fileViewController:(TimeBusViewController *)viewController animated:(BOOL)animated
{
    if (self.childViewControllers.pause > 0) {
        viewController.reduceWonButton.hidden = NO;
    }else {
        viewController.reduceWonButton.hidden = YES;
    }
    [super fileViewController:viewController animated:animated];
    
}
- (void)tagLock {
    
}
@end
