Changeset 3559 in orxonox.OLD for orxonox/trunk/src/world_entities/terrain.h
- Timestamp:
- Mar 15, 2005, 12:44:19 PM (20 years ago)
- File:
-
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/terrain.h
r3558 r3559 1 1 /*! 2 \file proto_class.h 3 \brief Definition of the proto class template, used quickly start work 4 \todo Example: this shows how to use simply add a Marker that here has to be done something. 2 \file terrain.h 3 \brief Defines and handles the terrain of the World 5 4 6 The Protoclass exists, to help you quikly getting the run for how to develop in orxonox. 7 It is an example for the CODING-CONVENTION, and a starting-point for every class. 5 \todo implement it 6 7 The terrain should either be build from a Model a OBJModel or from a HeightMap. 8 8 */ 9 9 10 #ifndef _ PROTO_CLASS_H11 #define _ PROTO_CLASS_H10 #ifndef _TERRAIN_H 11 #define _TERRAIN_H 12 12 13 #include "what realy has to be included" 14 #include "base_object.h" 13 #include "world_entity.h" 15 14 16 15 // FORWARD DEFINITION \\ 17 class someClassWeNeed;18 16 19 20 /*class Test;*/ /* forward definition of class Test (without including it here!)*/ 21 22 //! A default class that aids you to start creating a new class 23 /** 24 here can be some longer description of this class 25 */ 26 class ProtoClass : public BaseObject { 17 //! A Class to handle Terrain of orxonox 18 class Terrain : public WorldEntity 19 { 27 20 28 21 public: 29 ProtoClass();30 virtual ~ ProtoClass();22 Terrain(); 23 virtual ~Terrain(); 31 24 32 bool doNonSense (int nothing); 25 void build(); 26 virtual void draw(); 33 27 34 28 private: 35 int nonSense; //!< doxygen tag here like this for all the variables - delete this variable if you use this36 29 30 int objectList; 37 31 }; 38 32 39 #endif /* _ PROTO_CLASS_H */33 #endif /* _TERRAIN_H */
Note: See TracChangeset
for help on using the changeset viewer.