1 #import <Foundation/Foundation.h> 2 #import <AppKit/AppKit.h> 3 4 #import "Views.h" 5 6 @interface Controller : NSObject 7 { 8 NSWindow *window; 9 Rubik *rview; 10 NSSlider *sliders[3]; 11 } 12 13 -(void)applicationDidFinishLaunching:(NSNotification *)aNotification; 14 15 - makeGameWindow; 16 17 - resetSliders; 18 19 - scramble:(id)sender; 20 - restore:(id)sender; 21 22 @end 23 24