Changeset 3756 in orxonox.OLD for orxonox/branches/convention/src/world_entities/test_mat.h
- Timestamp:
- Apr 8, 2005, 12:54:23 AM (20 years ago)
- Location:
- orxonox/branches/convention
- Files:
-
- 2 copied
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/convention/src/world_entities/test_mat.h
r3752 r3756 1 1 /*! 2 \file proto_class.h2 \file test_mat.h 3 3 \brief Definition of the proto class template, used quickly start work 4 4 \todo Example: this shows how to use simply add a Marker that here has to be done something. … … 8 8 */ 9 9 10 #ifndef _ PROTO_CLASS_H11 #define _ PROTO_CLASS_H10 #ifndef _TEST_MAT_H 11 #define _TEST_MAT_H 12 12 13 #include "what realy has to be included" 14 #include "base_object.h" 13 #include "world_entity.h" 15 14 16 // FORWARD DEFINITION \\17 class someClassWeNeed;18 15 // FORWARD DEFINITION 16 class Model; 17 class Material; 19 18 20 19 /*class Test;*/ /* forward definition of class Test (without including it here!)*/ … … 24 23 here can be some longer description of this class 25 24 */ 26 class ProtoClass : public BaseObject { 25 class TestMat : public WorldEntity 26 { 27 27 28 28 public: 29 ProtoClass();30 virtual ~ ProtoClass();29 TestMat(); 30 virtual ~TestMat(); 31 31 32 bool doNonSense (int nothing); 32 void enable(); 33 34 virtual void draw(); 35 33 36 34 37 private: 35 int nonSense; //!< doxygen tag here like this for all the variables - delete this variable if you use this 38 Model* model1,* model2,* model3,* model4; 39 Material* mat1, *mat2, *mat3, *mat4; 40 41 bool enabled; 36 42 37 43 }; 38 44 39 #endif /* _ PROTO_CLASS_H */45 #endif /* _TEST_MAT_H */
Note: See TracChangeset
for help on using the changeset viewer.