Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 21, 2005, 12:49:18 PM (20 years ago)
Author:
patrick
Message:

orxonox/trunk: CDEngine knows player and gets the array offsets

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/collision_detection/cd_engine.h

    r4918 r4919  
    1616class OBBTree;
    1717class Terrain;
     18class Player;
    1819
    1920
     
    4748  inline void setEntityList(tList<WorldEntity>* entityList) { this->entityList = entityList; }
    4849  inline void setTerrain(Terrain* terrain) { this->terrain = terrain; }
     50  inline void setPlayer(Player* player) { this->player = player; } /* only for debug purposes \todo: delete*/
    4951
    5052  void drawBV(int depth, int drawMode) const;
     
    7274
    7375  Terrain*                terrain;                          //!< this it a ref to the terrain, serving as a ground for all WE
     76  Player*                 player;
    7477};
    7578
Note: See TracChangeset for help on using the changeset viewer.