1
0
Fork 0
cuberite-2a/src/Mobs/Cow.h

34 lines
404 B
C++

#pragma once
#include "PassiveMonster.h"
class cCow:
public cPassiveMonster
{
using Super = cPassiveMonster;
public:
cCow();
CLASS_PROTODEF(cCow)
virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = nullptr) override;
virtual void OnRightClicked(cPlayer & a_Player) override;
virtual void GetFollowedItems(cItems & a_Items) override
{
a_Items.Add(E_ITEM_WHEAT);
}
} ;