2026-03-01 12:16:08 +08:00
|
|
|
#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);
|
|
|
|
|
|
2026-03-03 03:04:10 +08:00
|
|
|
virtual bool mobInteract(shared_ptr<Player> player);
|
2026-03-01 12:16:08 +08:00
|
|
|
virtual bool canSpawn(); // 4J added
|
2026-03-02 17:37:16 +07:00
|
|
|
virtual shared_ptr<AgableMob> getBreedOffspring(shared_ptr<AgableMob> target);
|
2026-03-01 12:16:08 +08:00
|
|
|
};
|