Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/SuperOrxoBros_HS18/SuperOrxoBros_HS18/test/core_plugin/Testsingleton.h @ 12175

Last change on this file since 12175 was 12175, checked in by siramesh, 5 years ago

Super Orxo Bros (Sidharth Ramesh, Nisa Balta, Jeff Ren)

File size: 522 bytes
Line 
1#ifndef _Testsingleton_H__
2#define _Testsingleton_H__
3
4#include "util/Singleton.h"
5#include "core/object/Listable.h"
6
7namespace orxonox
8{
9    class Testsingleton : public Singleton<Testsingleton>, public Listable
10    {
11        friend class Singleton<Testsingleton>;
12
13        public:
14            Testsingleton();
15
16            int getValue() const
17                { return this->value_; }
18
19        private:
20            int value_;
21
22            static Testsingleton* singletonPtr_s;
23    };
24}
25
26#endif /* _Testsingleton_H__ */
Note: See TracBrowser for help on using the repository browser.