This is Dice.h in view mode; [Download] [Up]
#import <appkit/appkit.h>
#import "Craps.h"
#define NUMBER_TO_ROLL 10
@interface Dice:Object
{
id dealer;
int die1;
int die2;
id dieButton1;
id dieButton2;
id image[7];
char *imageName[6];
DPSTimedEntry animateTE;
int rollCount;
int rotations;
int nextRotation;
int rollSoundIndex;
id rollSound;
BOOL isEnabled;
}
- animateRoll;
- disableRoll:sender;
- enableRoll:sender;
- getDiceValues:(int *)d1 :(int *)d2;
- roll:sender;
- setEnabled:(BOOL)flag;
@end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.