Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 2, 2015, 11:20:45 PM (9 years ago)
Author:
landauf
Message:

use the generic UpdateListener interface to receive calls to preUpdate() and postUpdate() instead of limiting this functionality to singletons.

File:
1 edited

Legend:

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

    r8351 r10413  
    3333
    3434#include "util/Singleton.h"
    35 #include "tools/interfaces/Tickable.h"
     35#include "core/UpdateListener.h"
    3636
    3737namespace orxonox
    3838{
    39     class _OrxonoxExport PawnManager : public Singleton<PawnManager>, public Tickable
     39    class _OrxonoxExport PawnManager : public Singleton<PawnManager>, public UpdateListener
    4040    {
    4141            friend class Singleton<PawnManager>;
     
    4545
    4646            virtual void preUpdate(const Clock& time);
     47            virtual void postUpdate(const Clock& time) { /*no action*/ }
    4748
    4849        private:
Note: See TracChangeset for help on using the changeset viewer.