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

17 lines
422 B
C++

#pragma once
#include "Cow.h"
class MushroomCow : public Cow
{
public:
eINSTANCEOF GetType() { return eTYPE_MUSHROOMCOW; }
static Entity *create(Level *level) { return new MushroomCow(level); }
public:
MushroomCow(Level *level);
virtual bool interact(std::shared_ptr<Player> player);
virtual bool canSpawn(); // 4J added
virtual std::shared_ptr<AgableMob> getBreedOffspring(std::shared_ptr<AgableMob> target);
};