Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/buildsystem2/src/network/GamestateHandler.cc @ 2650

Last change on this file since 2650 was 2171, checked in by landauf, 16 years ago

merged revisions 2111-2170 from objecthierarchy branch back to trunk.

  • Property svn:eol-style set to native
File size: 318 bytes
Line 
1#include <assert.h>
2
3#include "GamestateHandler.h"
4#include "packet/Packet.h"
5
6namespace orxonox {
7
8GamestateHandler *GamestateHandler::instance_=0;
9 
10GamestateHandler::GamestateHandler()
11{
12  assert(instance_==0);
13  instance_=this;
14}
15
16
17GamestateHandler::~GamestateHandler()
18{
19  instance_=0;
20}
21
22
23
24}//namespace orxonox
Note: See TracBrowser for help on using the repository browser.