Files
MinecraftConsoles/Minecraft.World/BossMobPart.h
void_17 7074f35e4b shared_ptr -> std::shared_ptr
This is one of the first commits in a plan to remove all `using namespace std;` lines in the entire codebase as it is considered anti-pattern today.
2026-03-02 15:58:20 +07:00

27 lines
599 B
C++

#pragma once
using namespace std;
#include "Entity.h"
class Level;
class BossMob;
class BossMobPart : public Entity
{
public:
eINSTANCEOF GetType() { return eTYPE_BOSS_MOB_PART; };
public:
BossMob *bossMob;
const wstring id;
BossMobPart(BossMob *bossMob, const wstring &id, float w, float h);
protected:
virtual void defineSynchedData();
virtual void readAdditionalSaveData(CompoundTag *tag);
virtual void addAdditonalSaveData(CompoundTag *tag);
public:
virtual bool isPickable();
virtual bool hurt(DamageSource *source, int damage);
virtual bool is(std::shared_ptr<Entity> other);
};