ftp.nice.ch/pub/next/games/action/ROBOTS.s.tar.gz#/ROBOTS/aSquare.h

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

#import <appkit/appkit.h>
#import "aRobot.h"

#define NOROBOT -1
#define SCRAP -2

@interface aSquare:Object
{
    id	myDelegate;
    int myRobotID;
}

- setDelegate:sender;
- addRobot:(aRobot *) theRobot;
- removeRobot:(aRobot *) theRobot;
- (BOOL) hasScrap;
- (BOOL) moveScrap:targetSquare;

/* Returns -1 if no robot. */
- (int) hasRobotID;

@end

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