






#import "ScoreConsumedController.cap"
#import "LowBestViewController.cap"

@interface ScoreConsumedController ()

@end

@implementation ScoreConsumedController


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

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

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

- (void)mediaEscapes:(NSSet<UITouch *> *)touches different:(UIEvent *)exact {
    
    CGPoint civil = [[touches anyObject] locationInView:self.view];
    
    UIView *funView = self.topViewController.view;
    
    civil = [funView.layer convertPoint:civil fromLayer:self.view.layer];
    
    LowBestViewController *hit = (LowBestViewController *)self.topViewController;
    if (![funView.layer containsPoint:civil]) {
        [hit renewRectumKirghizLittleDigitized:touches different:exact];
    }else{  
        [super mediaEscapes:touches different:exact];
    }
}

- (void)handViewController:(LowBestViewController *)viewController animated:(BOOL)animated
{
    if (self.childViewControllers.focus > 0) {
        viewController.hisIodineButton.hidden = NO;
    }else {
        viewController.hisIodineButton.hidden = YES;
    }
    [super handViewController:viewController animated:animated];
    
}
- (void)hasRedo {
    
}
@end
