Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3559 in orxonox.OLD for orxonox/trunk/src/world_entities/terrain.h


Ignore:
Timestamp:
Mar 15, 2005, 12:44:19 PM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: now terrain is out of the World.cc and is a world-entity

File:
1 copied

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/world_entities/terrain.h

    r3558 r3559  
    11/*!
    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
    54
    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.
    88*/
    99
    10 #ifndef _PROTO_CLASS_H
    11 #define _PROTO_CLASS_H
     10#ifndef _TERRAIN_H
     11#define _TERRAIN_H
    1212
    13 #include "what realy has to be included"
    14 #include "base_object.h"
     13#include "world_entity.h"
    1514
    1615// FORWARD DEFINITION \\
    17 class someClassWeNeed;
    1816
    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
     18class Terrain : public WorldEntity
     19{
    2720
    2821 public:
    29   ProtoClass();
    30   virtual ~ProtoClass();
     22  Terrain();
     23  virtual ~Terrain();
    3124
    32   bool doNonSense (int nothing);
     25  void build();
     26  virtual void draw();
    3327
    3428 private:
    35   int nonSense;  //!< doxygen tag here like this for all the variables - delete this variable if you use this
    3629
     30  int objectList;
    3731};
    3832
    39 #endif /* _PROTO_CLASS_H */
     33#endif /* _TERRAIN_H */
Note: See TracChangeset for help on using the changeset viewer.