Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5498 in orxonox.OLD for trunk/src/world_entities/world_entity.h


Ignore:
Timestamp:
Nov 7, 2005, 10:43:22 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: redocumented the WorldEntity and Weapon classes

File:
1 edited

Legend:

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

    r5431 r5498  
    1111
    1212// FORWARD DECLARATION
    13 class CharacterAttributes;
    14 class SoundEngine;
    1513class SoundBuffer;
    1614class SoundSource;
    1715class BVTree;
     16
     17//class CharacterAttributes;
    1818
    1919
     
    2828
    2929  /** @see loadModelWithScale(const char*, float) @param fileName the File to load */
    30   void loadModel(const char* fileName) { this->loadModelWithScale(fileName, 1.0); };
     30  void loadModel(const char* fileName) { this->loadModelWithScale(fileName, 1.0f); };
     31
    3132  void loadModelWithScale(const char* fileName, float scaling);
    3233
     
    4243  bool isVisible() const { return this->bVisible; };
    4344
    44   void setCharacterAttributes(CharacterAttributes* charAttr);
    45   CharacterAttributes* getCharacterAttributes();
     45//  void setCharacterAttributes(CharacterAttributes* charAttr);
     46//  CharacterAttributes* getCharacterAttributes();
    4647
    4748  /** @returns a reference to the obb tree of this worldentity */
     
    5152  virtual void leftWorld ();
    5253
    53   virtual void hit (WorldEntity* weapon, Vector* loc);
    5454  virtual void collidesWith (WorldEntity* entity, const Vector& location);
    5555
     
    6363 protected:
    6464  Model*                  model;            //!< The model that should be loaded for this entity.
    65   CharacterAttributes*    charAttr;         //!< the character attributes of a world_entity
    6665  BVTree*                 obbTree;          //!< this is the obb tree reference needed for collision detection
     66  //  CharacterAttributes*    charAttr;         //!< the character attributes of a world_entity
    6767
    6868 private:
Note: See TracChangeset for help on using the changeset viewer.