Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 1, 2006, 4:42:01 PM (19 years ago)
Author:
bottac
Message:

Loadable from .oxw

File:
1 copied

Legend:

Unmodified
Added
Removed
  • branches/bsp_model/src/world_entities/bsp_entity.h

    r7540 r8081  
    11/*!
    2  * @file proto_world_entity.h
     2 * @file bsp_entity.h
    33 * @brief description
    44*/
    55
    6 #ifndef _PROTO_WORLD_ENTITY_H
    7 #define _PROTO_WORLD_ENTITY_H
     6#ifndef _BSP_ENTITY_H
     7#define _BSP_ENTITY_H
    88
    99#include "world_entity.h"
     10#include "bsp_manager.h"
     11
     12#include "util/loading/factory.h"
     13#include "util/loading/load_param.h"
     14
     15
    1016
    1117//! A Class to ...
    12 class ProtoWorldEntity : public WorldEntity
     18class BSPEntity : public WorldEntity
    1319{
    14 
     20 
    1521 public:
    16   ProtoWorldEntity(const TiXmlElement* root = NULL);
    17   virtual ~ProtoWorldEntity();
     22  BSPEntity(const TiXmlElement* root = NULL);
     23  virtual ~BSPEntity();
    1824
    1925  virtual void loadParams(const TiXmlElement* root);
     26 
     27  void setName(const std::string& name);
     28
    2029  void init();
    21 
    22   virtual void postSpawn ();
    23   virtual void leftWorld ();
    24 
    2530
    2631  virtual void draw() const;
     
    2934
    3035 private:
     36   BspManager* bspManager;
    3137
    3238};
    3339
    34 #endif /* _PROTO_WORLD_ENTITY_H */
     40#endif /* _BSP_ENTITY_H */
Note: See TracChangeset for help on using the changeset viewer.