Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 21, 2005, 3:04:21 PM (19 years ago)
Author:
bensch
Message:

orxonox/branches/particleEngine: added the particleEngine-class

Location:
orxonox/branches/particleEngine/src/lib/graphics/partices
Files:
1 added
1 copied

Legend:

Unmodified
Added
Removed
  • orxonox/branches/particleEngine/src/lib/graphics/partices/particle_engine.cc

    r3922 r3923  
    2424   \brief standard constructor
    2525*/
    26 ProtoSingleton::ProtoSingleton ()
     26ParticleEngine::ParticleEngine ()
    2727{
    28    this->setClassName ("ProtoSingleton");
     28   this->setClassName ("ParticleEngine");
    2929
    3030}
     
    3333   \brief the singleton reference to this class
    3434*/
    35 ProtoSingleton* ProtoSingleton::singletonRef = NULL;
     35ParticleEngine* ParticleEngine::singletonRef = NULL;
    3636
    3737/**
    3838   \returns a Pointer to this Class
    3939*/
    40 ProtoSingleton* ProtoSingleton::getInstance(void)
     40ParticleEngine* ParticleEngine::getInstance(void)
    4141{
    42   if (!ProtoSingleton::singletonRef)
    43     ProtoSingleton::singletonRef = new ProtoSingleton();
    44   return ProtoSingleton::singletonRef;
     42  if (!ParticleEngine::singletonRef)
     43    ParticleEngine::singletonRef = new ParticleEngine();
     44  return ParticleEngine::singletonRef;
    4545}
    4646
    4747/**
    48    \brief standard deconstructor
     48   \brief standard destructor
    4949
    5050*/
    51 ProtoSingleton::~ProtoSingleton ()
     51ParticleEngine::~ParticleEngine ()
    5252{
    53   ProtoSingleton::singletonRef = NULL;
     53  ParticleEngine::singletonRef = NULL;
    5454
    5555}
Note: See TracChangeset for help on using the changeset viewer.