Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10314 in orxonox.OLD for trunk/src/world_entities/mount_point.h


Ignore:
Timestamp:
Jan 24, 2007, 12:45:39 AM (17 years ago)
Author:
patrick
Message:

merged branche mount_point to trunk. this will add mount point abilities, bsp transparency fix and some other smaller stuff to this trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/mount_point.h

    r10147 r10314  
    1212
    1313  public:
    14     MountPoint ();
    15     MountPoint(const TiXmlElement* root);
     14    MountPoint (const Vector& up, const Vector& forward, const Vector& center, const std::string& name);
    1615    virtual ~MountPoint ();
    1716
    1817    void init();
    19     virtual void loadParams(const TiXmlElement* root);
     18    void initMountPoint(const TiXmlElement* root);
     19    void loadParam(const TiXmlElement* root);
     20    void loadDetails(const TiXmlElement* root);
    2021
     22    void setDescription(const std::string& description);
     23    void setOrxClass(const std::string& orxClass);
    2124
    2225    virtual void tick (float time);
     
    3235  private:
    3336    WorldEntity*         _mount;       //!< the entity mounted at this mount point
     37    std::string          _name;        //!< the name of the mount point
     38
     39    std::string          _description; //!< string containing an optional description
    3440
    3541};
Note: See TracChangeset for help on using the changeset viewer.