This commit is contained in:
aozhiwei 2024-07-30 09:10:33 +08:00
parent 0731648ed8
commit 60aa08a375
2 changed files with 11 additions and 0 deletions

View File

@ -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)
{
}

View File

@ -14,6 +14,10 @@ class BoxDrop : public std::enable_shared_from_this<BoxDrop>
void OnHeroDeadDrop(Hero* hero);
void OnObstacleDeadDrop(Obstacle* ob);
private:
void Drop(int num, const glm::vec3& center);
private:
Room* room_ = nullptr;
};