ftp.nice.ch/pub/next/games/board/Ergo.NIHS.bs.tar.gz#/Ergo/Proper_Ending/AbstractFilledSquare.h

This is AbstractFilledSquare.h in view mode; [Download] [Up]

#import "AbstractSquare.h"

@interface AbstractFilledSquare : AbstractSquare {
    BOOL  isSelected;
    BOOL  hasLegalMove;
}

- (BOOL) acceptsFirstMouse;
- (float) color;
- drawSelf: (const NXRect *) rects : (int) rectCount;
- (BOOL) isMyMove;
- (BOOL) isSelected;
- (BOOL) isWhite;
- mouseDown:    (NXEvent *) theEvent;
- mouseEntered: (NXEvent *) theEvent;
- mouseUp:      (NXEvent *) theEvent;
- setIsSelected: (BOOL) state;

/* Private methods: */

- calculateScore: sender;
- capture: sender;
- checkAdjacencyWith: sender;
- foundLegalMove;
- free;
- (BOOL) hasLegalMove;
- select: (double) cx : (double) cy;

@end

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.