This commit is contained in:
aozhiwei 2023-06-30 17:32:55 +08:00
parent d1e88314b8
commit 37f37b7152
2 changed files with 6 additions and 0 deletions

View File

@ -67,4 +67,9 @@ namespace mt
return itr != type_hash_.end() ? itr->second.at(0) : nullptr; return itr != type_hash_.end() ? itr->second.at(0) : nullptr;
} }
bool SafeArea::CanRevive() const
{
return false;
}
} }

View File

@ -16,6 +16,7 @@ namespace mt
std::shared_ptr<std::tuple<glm::vec3, float, int>> GetBoss() const { return _boss; } std::shared_ptr<std::tuple<glm::vec3, float, int>> GetBoss() const { return _boss; }
int GetSmallRingCount() const { return small_ring_count_; } int GetSmallRingCount() const { return small_ring_count_; }
const mt::SafeArea* GetLastArea() const { return last_area_; } const mt::SafeArea* GetLastArea() const { return last_area_; }
bool CanRevive() const;
static const SafeArea* GetByType(int type); static const SafeArea* GetByType(int type);