Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5084 in orxonox.OLD for trunk/src/lib/graphics/render2D/element_2d.h


Ignore:
Timestamp:
Aug 19, 2005, 2:37:18 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: flush
i am going into the weekend now
@patrick: ther might be some strange behaviour, and i noticed, that the CD-engine is iterating more through the entities, than it should
I hope, this is just a minor bug, because it almost killed me in the process of developing
i do not exactly know if it is from the CD-engine, but it is producing different outputs when i start the game five times in a row

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/graphics/render2D/element_2d.h

    r5083 r5084  
    22 * @file element_2d.h
    33 * Definition of the 2D elements rendered on top through the GraphicsEngine
     4 *
    45 * @todo reimplement it, so it looks just like PNode.
    56*/
     
    6263
    6364  public:
    64     Element2D();
     65    Element2D(Element2D* parent = NULL);
    6566    virtual ~Element2D();
    6667
    67     void init();
     68    void init(Element2D* parent = NULL);
    6869    void loadParams(const TiXmlElement* root);
    6970
     
    156157
    157158  private:
    158     void init(Element2D* parent);
    159159    /** tells the child that the parent's Coordinate has changed */
    160160    inline void parentCoorChanged () { this->bRelCoorChanged = true; }
     
    170170  protected:
    171171    void positioning();
     172    //void Element2D(NullElement2D* nullElem);
    172173
    173174  protected:
     
    184185
    185186
    186 
    187 
    188 
    189187  private:
    190188    bool              bRelCoorChanged;    //!< If Relative Coordinate has changed since last time we checked
Note: See TracChangeset for help on using the changeset viewer.