00001 #ifndef BARRELENTITY_H 00002 #define BARRELENTITY_H 00003 00011 #include "Entity.h" 00012 00019 class BarrelEntity : public Entity { 00020 public: 00021 00026 void deserialize (XMLNode *from ); 00027 00028 00029 private: 00030 Color reflectivity_; 00031 Color emission_; 00032 Color radiosity_; 00033 00034 void polygonize ( ); 00035 00036 void addQuad(Vertex vertex[4]); 00037 void addBaseTriangles(Vertex vertex[4]); 00038 }; 00039 00040 #endif // BARRELENTITY_H
1.5.2