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

crosshair.h

Go to the documentation of this file.
00001 #ifndef __CROSSHAIR_H
00002 #define __CROSSHAIR_H
00003 
00004 class Crosshair;
00005 
00006 #include "application.h"
00007 
00008 //#define CROSSHAIR_IMG_FILE "data/images/crosshair"
00009 #define CROSSHAIR_IMG_FILE DATAFILE ("images" DIR_SEP "crosshair")
00010 
00011 #include "object.h"
00012 
00013 class Crosshair : public GameObject {
00014 public:
00015         Crosshair(ObjectManager &);
00016         ~Crosshair();
00017 
00018         double GetRadius() const { return radius; }     
00019         int SetPosition(double x, double y);
00020         void think();
00021         int Recenter();
00022 private:
00023         double radius;
00024 };
00025 
00026 
00027 #endif

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