Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3596 in orxonox.OLD for orxonox/trunk/src/track_manager.cc


Ignore:
Timestamp:
Mar 17, 2005, 6:03:46 PM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: borders for the Player, so he cannot move out of the line

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/track_manager.cc

    r3595 r3596  
    4242  this->endTime = 1;
    4343  this->jumpTime = 0;
     44  this->width = TMAN_DEFAULT_WIDTH;
    4445  this->nodeCount = 0;
    4546  this->childCount = 0;
     
    760761
    761762/**
     763   \returns the current Width of the track
     764*/
     765float TrackManager::getWidth(void) const
     766{
     767  return this->currentTrackElem->width;
     768}
     769
     770/**
    762771   \brief Advances the local-time of the Track around dt
    763772   \param dt The time about which to advance.
Note: See TracChangeset for help on using the changeset viewer.