2018-05-27 12:57:47 +00:00
|
|
|
#include "Worldstate.hpp"
|
|
|
|
#include "Main.hpp"
|
|
|
|
#include "Networking.hpp"
|
|
|
|
|
|
|
|
using namespace mwmp;
|
|
|
|
using namespace std;
|
|
|
|
|
|
|
|
Worldstate::Worldstate()
|
|
|
|
{
|
2018-05-27 13:05:40 +00:00
|
|
|
hasPlayerCollision = true;
|
|
|
|
hasActorCollision = true;
|
|
|
|
hasPlacedObjectCollision = false;
|
|
|
|
useActorCollisionForPlacedObjects = false;
|
2018-05-27 12:57:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
Worldstate::~Worldstate()
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
Networking *Worldstate::getNetworking()
|
|
|
|
{
|
|
|
|
return mwmp::Main::get().getNetworking();
|
|
|
|
}
|