Files
MinecraftConsoles/Minecraft.World/WaterAnimal.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

19 lines
386 B
C++

#pragma once
#include "PathfinderMob.h"
#include "Creature.h"
class Player;
class WaterAnimal : public PathfinderMob, public Creature
{
public:
WaterAnimal(Level *level);
virtual bool isWaterMob();
virtual bool canSpawn();
virtual int getAmbientSoundInterval();
protected:
virtual bool removeWhenFarAway();
virtual int getExperienceReward(std::shared_ptr<Player> killedBy);
};