1
This commit is contained in:
parent
1385baa2a4
commit
1d88008f8f
@ -1,3 +1,8 @@
|
||||
#include "precompile.h"
|
||||
|
||||
#include "batchsync.h"
|
||||
|
||||
BatchSync::BatchSync(Room* room)
|
||||
{
|
||||
room_ = room;
|
||||
}
|
||||
|
@ -2,7 +2,10 @@
|
||||
|
||||
class BatchSync
|
||||
{
|
||||
public:
|
||||
Room* room = nullptr;
|
||||
public:
|
||||
BatchSync(Room* room);
|
||||
|
||||
private:
|
||||
Room* room_ = nullptr;
|
||||
|
||||
};
|
||||
|
@ -40,6 +40,7 @@
|
||||
#include "airdrop.h"
|
||||
#include "airraid.h"
|
||||
#include "sandtable.h"
|
||||
#include "batchsync.h"
|
||||
|
||||
#include "mt/Param.h"
|
||||
#include "mt/Hero.h"
|
||||
@ -116,6 +117,7 @@ void Room::Init()
|
||||
|
||||
air_drop_ = std::make_shared<AirDrop>(this);
|
||||
air_raid_ = std::make_shared<AirRaid>(this);
|
||||
batch_sync_ = std::make_shared<BatchSync>(this);
|
||||
|
||||
CreateSpawnPoints();
|
||||
CreateWorldObjects();
|
||||
|
Loading…
x
Reference in New Issue
Block a user