This is Hand.h in view mode; [Download] [Up]
// Hand.h
// Project: Cribbage
// Stephan Wacker
// 93-09-17
#import <appkit/appkit.h>
#import "deck.h"
typedef enum {
FACE_UP,
FACE_DOWN,
FACE_NONE
} FACE;
@interface Hand: Object
{
int nHand;
CARD hand[ FULLHAND ];
FACE face[ FULLHAND ];
}
- emptyHand;
- addCard: (CARD) aCard faceUp: (BOOL) f;
- sortHand;
@end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.