Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Sep 25, 2005, 1:16:41 AM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: reverted changes to the Element2D-class, they are not needed

File:
1 edited

Legend:

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

    r5251 r5252  
    218218  public:
    219219    /** @returns a Pointer to the only object of this Class */
    220     inline static NullElement2D* getInstance() { if (!NullElement2D::singletonRef) NullElement2D::singletonRef = new NullElement2D();  return NullElement2D::singletonRef; };
    221     inline static bool isInstanciated() { return (likely(NullElement2D::singletonRef != NULL))?true:false; };
     220    inline static NullElement2D* getInstance() { if (!singletonRef) singletonRef = new NullElement2D();  return singletonRef; };
    222221    virtual ~NullElement2D ();
    223222
Note: See TracChangeset for help on using the changeset viewer.