Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3761 in orxonox.OLD for orxonox/trunk/src/proto/proto_world_entity.h


Ignore:
Timestamp:
Apr 8, 2005, 12:49:40 PM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: added proto_world_entity to easily create a world_entity

File:
1 copied

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/proto/proto_world_entity.h

    r3760 r3761  
    11/*!
    2     \file terrain.h
    3     \brief Defines and handles the terrain of the World
     2    \file proto_world_entity
    43
    5     \todo implement it
    6 
    7     The terrain should either be build from a Model a OBJModel or from a HeightMap.
    84*/
    95
    10 #ifndef _TERRAIN_H
    11 #define _TERRAIN_H
     6#ifndef _PROTO_WORLD_ENTITY_H
     7#define _PROTO_WORLD_ENTITY_H
    128
    139#include "world_entity.h"
    1410
    15 // FORWARD DEFINITION \\
    16 
    17 //! A simple method to call a desired debug world.
    18 enum DebugTerrain {TERRAIN_DAVE, TERRAIN_BENSCH};
    19 
    20 
    21 //! A Class to handle Terrain of orxonox
    22 class Terrain : public WorldEntity
     11//! A Class to ...
     12class ProtoWorldEntity : public WorldEntity
    2313{
    2414
    2515 public:
    26   Terrain();
    27   Terrain(char* fileName);
    28   Terrain(DebugTerrain debugTerrain);
    29   virtual ~Terrain();
     16  ProtoWorldEntity();
     17  virtual ~ProtoWorldEntity();
    3018  void init();
    3119 
    32   void buildDebugTerrain(DebugTerrain debugTerrain);
    3320  virtual void draw();
    3421
    3522 private:
    36   int objectList;
     23
    3724};
    3825
    39 #endif /* _TERRAIN_H */
     26#endif /* _PROTO_WORLD_ENTITY_H */
Note: See TracChangeset for help on using the changeset viewer.