File: SpriteCollection.hxx

package info (click to toggle)
oonsoo 1.2-8
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,604 kB
  • ctags: 422
  • sloc: cpp: 24,373; makefile: 82
file content (33 lines) | stat: -rw-r--r-- 719 bytes parent folder | download | duplicates (4)
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
///////////////////////////////////////////////////////////////////////////////
//
// 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<Sprite> 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