Danbias/Code/Game/GameClient/GameClientState/SharedStateContent.h

29 lines
836 B
C
Raw Normal View History

2014-02-17 11:27:43 +01:00
/********************************************************************
* Created by Dan Andersson, 2014
* Contains a shared memory struct.
* Whihc reference passed seamlessly between the game states
* at their Init calls.
********************************************************************/
#ifndef SHAREDSTATECONTENT_H
#define SHAREDSTATECONTENT_H
#include <map>
#include "Utilities.h"
#include "C_Object.h"
#include "NetworkClient.h"
#include "L_inputClass.h"
namespace DanBias { namespace Client
{
struct SharedStateContent
{
public:
2014-02-17 12:02:18 +01:00
::std::map<int, ::Utility::DynamicMemory::UniquePointer<::DanBias::Client::C_Object>> staticObjects;
::std::map<int, ::Utility::DynamicMemory::UniquePointer<::DanBias::Client::C_Object>> dynamicObjects;
2014-02-17 11:27:43 +01:00
::Oyster::Network::NetworkClient *network;
InputClass* input;
};
} }
#endif