ftp.nice.ch/pub/next/science/mathematics/AliceCube.999.N.bs.tar.gz#/AliceCube/AliceDoc.h

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

/* Generated by Interface Builder */

#import "Cube.h"

extern "Objective-C" {
#import "BasicApp.h"
}

@interface AliceDoc:Document
{
	id undoActions;
	Cube* myCube;
	BOOL scrambled;
}

+ initialize;			/* Set randomizer */

/* Create New */
- getWindow;
- free;

/* Set State */
- reset:sender;
- scramble:sender;

- undo:sender;
- unscramble:sender;

/* Check State */
- test:sender;

/* Modify State */
- twist:(CubeCoord) plane :(CubeDir) dir;
- rotate:(CubeCoord) plane :(CubeDir) dir;

/* Rotate Actions*/
- rotateX:sender;
- rotateY:sender;
- rotateZ:sender;
- rotateT:sender;

/* Twist Actions */
- twistX:sender;
- twistY:sender;
- twistZ:sender;
- twistT:sender;

/* Key Equivalent */
- doTwist:(unsigned short) charCode :(short) dir;
- doRotate:(unsigned short) charCode :(short) dir;

/* First Responder */

- (BOOL)validateCommand:menuCell;

@end

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