2016-02-13 19:05:59 +00:00
|
|
|
#include "CCollisionResponseData.hpp"
|
2016-02-14 03:42:36 +00:00
|
|
|
#include "CSimplePool.hpp"
|
2016-02-13 19:05:59 +00:00
|
|
|
|
|
|
|
namespace pshag
|
|
|
|
{
|
|
|
|
CCollisionResponseData::CCollisionResponseData(CInputStream& in, CSimplePool* resPool)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
std::unique_ptr<IObj> FCollisionResponseDataFactory(const SObjectTag& tag, CInputStream& in, const CVParamTransfer& vparms)
|
|
|
|
{
|
|
|
|
CSimplePool* sp = static_cast<CSimplePool*>(static_cast<TObjOwnerParam<IObjectStore*>*>(vparms.GetObj())->GetParam());
|
|
|
|
return TToken<CCollisionResponseData>::GetIObjObjectFor(std::unique_ptr<CCollisionResponseData>(new CCollisionResponseData(in, sp)));
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|