1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
|
///////////////////////////////////////////////////////////////////////////////
// $Id: SampleCollection.hxx,v 1.1 1995/01/08 06:48:14 bmott Exp $
///////////////////////////////////////////////////////////////////////////////
//
// SampleCollection.hxx - SampleCollection class
//
//
// Bradford W. Mott
// Copyright (C) 1995
// January 4,1995
//
///////////////////////////////////////////////////////////////////////////////
// $Log: SampleCollection.hxx,v $
// Revision 1.1 1995/01/08 06:48:14 bmott
// Initial revision
//
///////////////////////////////////////////////////////////////////////////////
#ifndef SAMPLECOLLECTION_HXX
#define SAMPLECOLLECTION_HXX
#include "LinkedList.hxx"
#include "Sample.hxx"
class SampleCollection {
private:
// Linked list of sprites that I maintain
LinkedList<Sample> ListOfSamples;
public:
// Constructor
SampleCollection(unsigned char* sampleData[]);
// Answer the Sample for the given name or (Sample*)0 if it doesn't exist
Sample* getByName(const char* name);
};
#endif
|