Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Jan 28, 2007, 5:46:16 PM (18 years ago)
Author:
patrick
Message:

drawing track is now loadable, merge from branche playability

File:
1 edited

Legend:

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

    r10391 r10449  
    185185    //  CharacterAttributes*    charAttr;         //!< the character attributes of a world_entity
    186186
     187  inline void drawDebugTrack(int flag) { this->bDrawTrack = (bool)flag; }
     188  inline bool isDrawTrack() const { return this->bDrawTrack; }
     189
    187190
    188191private:
     
    240243  Vector                  velocity;                        //!< speed of the entity
    241244  Track*                  entityTrack;                     //!< this is the track this entity follows (or NULL if none)
     245  bool                    bDrawTrack;                      //!< if true draws the debug track
    242246
    243247};
Note: See TracChangeset for help on using the changeset viewer.