Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

spritelist.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                           spritelist.h  -  description
00003                              -------------------
00004     begin                : Fri Mar 7 2003
00005     copyright            : (C) 2003 by Tyler Montbriand
00006     email                : tsm@accesscomm.ca
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #ifndef SPRITELIST_H
00019 #define SPRITELIST_H
00020 
00021 #include "Fxp.h"
00022 #include "rect.h"
00023 #include "sprite.h"
00024 
00025 #include <SDL/begin_code.h>
00026 
00027 
00034 
00040 class DECLSPEC SpriteList
00041 {
00042 public:
00044   SpriteList();
00046   ~SpriteList();
00048   void Destroy();
00050   bool Extract(Sprite *spr);
00052   bool Insert(Sprite *spr);
00054   bool Find(Sprite *spr);
00056   Sprite *Tail();
00058   Sprite *Head();  
00059 private:
00061   bool Append(Sprite *spr);
00063   bool Prepend(Sprite *spr);
00065   Sprite *head;
00066 };
00067 
00069 
00070 #include <SDL/close_code.h>
00071 
00072 #endif

Generated on Sat Oct 11 13:19:26 2003 for Spritelib by doxygen 1.3.4