| 
                Last change
                  on this file since 2066 was
                  1763,
                  checked in by rgrieder, 17 years ago
           | 
        
        
          | 
               
added svn:eol-style native to all the files that were missing it 
 
           | 
        
        
          
            
              - 
                  Property svn:eol-style set to
                  
native
               
             
           | 
        
        | 
            File size:
            318 bytes
           | 
      
      
        
  | Rev | Line |   | 
|---|
| [1706] | 1 | #include <assert.h> | 
|---|
 | 2 |  | 
|---|
 | 3 | #include "GamestateHandler.h" | 
|---|
 | 4 | #include "packet/Packet.h" | 
|---|
 | 5 |  | 
|---|
 | 6 | namespace network { | 
|---|
 | 7 |  | 
|---|
 | 8 | GamestateHandler *GamestateHandler::instance_=0; | 
|---|
 | 9 |    | 
|---|
 | 10 | GamestateHandler::GamestateHandler() | 
|---|
 | 11 | { | 
|---|
 | 12 |   assert(instance_==0); | 
|---|
 | 13 |   instance_=this; | 
|---|
 | 14 | } | 
|---|
 | 15 |  | 
|---|
 | 16 |  | 
|---|
 | 17 | GamestateHandler::~GamestateHandler() | 
|---|
 | 18 | { | 
|---|
 | 19 |   instance_=0; | 
|---|
 | 20 | } | 
|---|
 | 21 |  | 
|---|
 | 22 |  | 
|---|
 | 23 |  | 
|---|
 | 24 | }//namespace network | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.