Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 22, 2011, 10:23:04 PM (13 years ago)
Author:
rgrieder
Message:

Manage PawnManager by Scopes. Then the singleton should get deleted in any case.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/kicklib2/src/orxonox/PawnManager.h

    r5781 r8307  
    3737namespace orxonox
    3838{
    39     class _OrxonoxExport PawnManager : protected Singleton<PawnManager>, public Tickable
     39    class _OrxonoxExport PawnManager : public Singleton<PawnManager>, public Tickable
    4040    {
    4141            friend class Singleton<PawnManager>;
    4242        public:
    43             static void touch();
     43            PawnManager();
     44            virtual ~PawnManager();
    4445
    45             virtual void tick(float dt);
     46            virtual void preUpdate(const Clock& time);
    4647
    4748        private:
    48             PawnManager();
    49             virtual ~PawnManager();
    5049
    5150            static PawnManager* singletonPtr_s;
Note: See TracChangeset for help on using the changeset viewer.