ftp.nice.ch/pub/next/games/card/Cribbage.1.1.s.tar.gz#/Cribbage/Cribbage-1.1/Hand.h

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.