This is Table.h in view mode; [Download] [Up]
// Table.h // Project: Cribbage // Stephan Wacker // 93-06-20 #import <appkit/appkit.h> @interface Table: View { id sumField; CARD cards[ 2*CINHAND ]; int nCards; // total number of cards played int goCards; // first card after last GO int sum; // total value of cards played } - clearSum; - empty; - (int) playCard: (CARD) aCard; - (int) sumPlayed; - (int) score: (CARD) aCard; - displayCardAt: (int) i; - drawSelf: (const NXRect *) rects: (int) rectCount; - hideCards: matrix; - hideCard: buttonCell; - downCard: buttonCell; - upCard: buttonCell card: (CARD) card; - (const char *) iconOf: (CARD) card; @end // Table
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.