the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
1#pragma once
2
3using namespace std;
4
5#include "Animal.h"
6
7class Player;
8class Level;
9
10class Cow : public Animal
11{
12public:
13 eINSTANCEOF GetType() { return eTYPE_COW; }
14 static Entity *create(Level *level) { return new Cow(level); }
15
16public:
17 Cow(Level *level);
18 virtual bool useNewAi();
19
20protected:
21 virtual void registerAttributes();
22 virtual int getAmbientSound();
23 virtual int getHurtSound();
24 virtual int getDeathSound();
25 virtual float getSoundVolume();
26 virtual int getDeathLoot();
27 virtual void playStepSound(int xt, int yt, int zt, int t);
28 virtual void dropDeathLoot(bool wasKilledByPlayer, int playerBonusLevel);
29
30public:
31 virtual bool mobInteract(shared_ptr<Player> player);
32 virtual shared_ptr<AgableMob> getBreedOffspring(shared_ptr<AgableMob> target);
33};