[Client] Create Worldstate class that inherits BaseWorldstate
parent
f7a084c824
commit
e8ec031a81
@ -0,0 +1,21 @@
|
||||
#include "Worldstate.hpp"
|
||||
#include "Main.hpp"
|
||||
#include "Networking.hpp"
|
||||
|
||||
using namespace mwmp;
|
||||
using namespace std;
|
||||
|
||||
Worldstate::Worldstate()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
Worldstate::~Worldstate()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
Networking *Worldstate::getNetworking()
|
||||
{
|
||||
return mwmp::Main::get().getNetworking();
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
#ifndef OPENMW_WORLDSTATE_HPP
|
||||
#define OPENMW_WORLDSTATE_HPP
|
||||
|
||||
#include <components/openmw-mp/Base/BaseWorldstate.hpp>
|
||||
|
||||
namespace mwmp
|
||||
{
|
||||
class Networking;
|
||||
class Worldstate : public BaseWorldstate
|
||||
{
|
||||
public:
|
||||
|
||||
Worldstate();
|
||||
virtual ~Worldstate();
|
||||
|
||||
private:
|
||||
Networking *getNetworking();
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
#endif //OPENMW_WORLDSTATE_HPP
|
Loading…
Reference in New Issue