Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Horde.h

Go to the documentation of this file.
00001 #ifndef HORDE_H
00002 #define HORDE_H
00003 
00004 #include "Monster.h"
00005 #include "Picture.h"
00006 
00007 class Horde {                   /*global structure of all bills*/
00008 public:
00009         static const int MAX_BILLS  = 100;      /*max Bills per level*/
00010         static const int WCELS = 4;     /* # of bill walking animation frames*/
00011         static const int DCELS = 5;     /* # of bill dying animation frames*/
00012         static const int ACELS = 13;    /* # of bill switching OS frames*/
00013         Monster list[MAX_BILLS];        /* list of monsters in all states*/
00014         int width, height;
00015         int on_screen, off_screen;
00016         Picture lcels[WCELS], rcels[WCELS], acels[ACELS], dcels[DCELS];
00017         void load_pix();
00018         void setup();
00019         void launch(int max);
00020         int on(unsigned int lev);
00021         int max_at_once(unsigned int lev);
00022         int between(unsigned int lev);
00023         void update();
00024         void draw();
00025 };
00026 
00027 #endif

Generated on Sat Nov 5 16:17:19 2005 for OPIE by  doxygen 1.4.2