Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages  

bearspawn.h

Go to the documentation of this file.
00001 #ifndef __BEARSPAWN_H
00002 #define __BEARSPAWN_H
00003 
00004 #include "object.h"
00005 
00006 class BearSpawnPoint : public GameObject {
00007 public:
00008         enum pointtype { PT_POINT, PT_CIRCLE, PT_SQUARE, PT_HLINE, PT_VLINE };
00009         BearSpawnPoint(ObjectManager &, pointtype = PT_CIRCLE);
00010         BearSpawnPoint(ObjectManager &, double, double, pointtype = PT_CIRCLE);
00011         void SetPointType(pointtype);
00012         
00013         void think();
00014 private:
00015         pointtype c_pointtype;
00016         nnctime lastspawntime;
00017         int spawn_delay;        // in milliseconds
00018 };
00019 
00020 #endif
00021 

Generated on Sun Dec 8 12:02:19 2002 for nnc by doxygen1.3-rc1