This is NController.m in view mode; [Download] [Up]
/*----------------------------------------------------------------------*/ /* (C) Copyright 1994 Stefanos Kiakas */ /* All rights reserved. */ /*----------------------------------------------------------------------*/ /* Generated by Interface Builder */ #import "NController.h" @implementation NController - displayInfoPanel:sender { if( info == nil ) { if( ![ NXApp loadNibSection:"NInfo.nib" owner: self withNames: NO ] ) return nil; } [ info makeKeyAndOrderFront: nil ]; return self; } - displayHelpPanel:sender { if( help == nil ) { if( ![ NXApp loadNibSection:"Help.nib" owner: self withNames: NO ] ) return nil; } [ help makeKeyAndOrderFront: nil ]; return self; } - appDidInit:sender { [game initializeGame ]; return self; } - appDidHide:sender { [game pauseGame]; return self; } - appDidUnhide:sender { [game pauseGame]; return self; } - appWillTerminate:sender { [game free]; [super free]; return self; } - newGame:sender { [game newGame]; return self; } - pauseGame:sender { [game pauseGame]; return self; } - speedUpFlow:sender { [game speedUpFlow]; return self; } @end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.