This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <UIKit/UIKit.h> | |
#import "SPYArmyView.h" | |
@interface SPYBrigadeViewController : UICollectionViewController | |
@property (strong, nonatomic) NSNumber* numberOfArmies; | |
@property (strong, nonatomic) UIColor* brigadeColor; | |
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <UIKit/UIKit.h> | |
@interface SPYBrigadeViewLayout : UICollectionViewLayout | |
@property int armies; | |
@property float gamePieceScale; | |
@property CGPoint introductionPoint; | |
-(id)init; | |
-(void)reAssesMaxColumnStack; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <UIKit/UIKit.h> | |
@interface SPYArmyView : UIView | |
@property (strong, nonatomic) UIColor* baseColor; | |
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright 2016 | |
// | |
// Batch.js | |
// | |
// A Typical Useage: | |
// Parent creates a Batch object with or without 'sync'. | |
// Parent adds a job function to the queue stack. | |
// If no 'sync' and no current 'frame', a request will be made for an | |
// animation frame. It is assigned to the frame property. | |
// A global resource runs a requestAnimationFrame function to |