00001
00002
00003
00004
00006
00011 #ifndef HGECIRCLE__
00012 #define HGECIRCLE__
00013
00014 #include <hgevector.h>
00015 #include <hgerect.h>
00016
00017 #include "hgeShape.h"
00018
00020
00021
00027 class hgeCircle : public hgeShape
00028 {
00029 public:
00030
00031 hgeVector center;
00032 float radius;
00033
00034
00035
00036 hgeCircle() : hgeShape(HGESHAPE_CIRCLE) { }
00037 hgeCircle(hgeVector m_cent, float m_rad) : hgeShape(HGESHAPE_CIRCLE)
00038 {
00039 center = m_cent;
00040 radius = m_rad;
00041 }
00042 };
00043
00044 #endif