This commit is contained in:
aozhiwei 2024-01-03 16:51:59 +08:00
parent 015e693225
commit 5acb72fe88

View File

@ -6,6 +6,8 @@
namespace mt
{
class BattleBasicAttribute;
struct HeroShotAnimation
{
int id = 0;
@ -53,9 +55,11 @@ namespace mt
int RandDrop() const;
const HeroShotAnimation* GetShotAnimi(int shotfire) const;
float GetHeight() const { return height_; }
std::shared_ptr<BattleBasicAttribute> GetBasicMeta() { return basic_meta_; }
private:
float height_ = 0.0f;
std::shared_ptr<mt::BattleBasicAttribute> basic_meta_ = nullptr;
static void LoadHeroAndEquipShotData();
};