ftp.nice.ch/pub/next/games/card/NeXTmj.2.0.s.tar.gz#/NeXTmj/GameTileArray.h

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

/*
 * This object provides an array of Game Tile objects.
 *	In the application there is only one object of this class.
 *
 $Author$
 $Header$
 *
 $Log$
 */


#import	"mj.h"
#import	"GameTile.h"


class GameTileArray {
private:
	GameTile*	game_tiles[ NUMBER_OF_TILES ];

public:
	GameTileArray( void );
	~GameTileArray( void );	

												// Index into the array to an
												//	element.
	GameTile&	operator[]( int );
												// Swap two elements in the array.
	void		swap( int, int );		
												// How many elements are in the array?
	int			size( void );	
};

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