/////////////////////////////////////////////////////////////////////////////// // // SpriteCollection.hxx - SpriteCollection class // // // Bradford W. Mott // Copyright (C) 1994 // November 12,1994 // /////////////////////////////////////////////////////////////////////////////// #ifndef SPRITECOLLECTION_HXX #define SPRITECOLLECTION_HXX #include "LinkedList.hxx" class Sprite; class SpriteCollection { private: // Linked list of sprites that I maintain LinkedList ListOfSprites; public: // Constructor SpriteCollection(unsigned char* spriteData[]); // Answer the sprite for the given name or (Sprite*)0 if it doesn't exist Sprite* getByName(const char* name); }; #endif