first commit
This commit is contained in:
17
Minecraft.World/MushroomCow.h
Normal file
17
Minecraft.World/MushroomCow.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#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(shared_ptr<Player> player);
|
||||
virtual bool canSpawn(); // 4J added
|
||||
virtual shared_ptr<AgableMob> getBreedOffspring(shared_ptr<AgableMob> target);
|
||||
};
|
||||
Reference in New Issue
Block a user