diff --git a/server/gameserver/boxdrop.cc b/server/gameserver/boxdrop.cc index 13625f5d..ce02dbe5 100644 --- a/server/gameserver/boxdrop.cc +++ b/server/gameserver/boxdrop.cc @@ -2,6 +2,8 @@ #include "boxdrop.h" +const int BOX_ID = 150001; + BoxDrop::BoxDrop(Room* room):room_(room) { @@ -26,3 +28,8 @@ void BoxDrop::OnObstacleDeadDrop(Obstacle* ob) { } + +void BoxDrop::Drop(int num, const glm::vec3& center) +{ + +} diff --git a/server/gameserver/boxdrop.h b/server/gameserver/boxdrop.h index 79af6dec..b0d4b105 100644 --- a/server/gameserver/boxdrop.h +++ b/server/gameserver/boxdrop.h @@ -14,6 +14,10 @@ class BoxDrop : public std::enable_shared_from_this void OnHeroDeadDrop(Hero* hero); void OnObstacleDeadDrop(Obstacle* ob); + private: + + void Drop(int num, const glm::vec3& center); + private: Room* room_ = nullptr; };