Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 28, 2007, 5:20:23 PM (16 years ago)
Author:
nicolasc
Message:

merge network

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/merger/src/network/GameStateManager.h

    r278 r332  
    1313#define NETWORK_GAMESTATEMANAGER_H
    1414
     15#include "Synchronisable.h"
     16#include "orxonox/core/IdentifierIncludes.h"
     17#include "orxonox/core/Iterator.h"
     18
    1519namespace network {
    1620
     
    2024 * data: pointer to the data allocated in the memory
    2125 */
    22 struct GameState{
     26  struct GameState{
     27  int id;
    2328  int size;
    2429  unsigned char *data;
     
    3641  GameStateManager();
    3742  ~GameStateManager();
    38   GameState getSnapshot();
     43  GameState getSnapshot(int id);
    3944  bool loadSnapshot(GameState state);
    4045private:
    41  
     46  bool removeObject(orxonox::Iterator<Synchronisable> it);
     47
    4248};
    4349
Note: See TracChangeset for help on using the changeset viewer.