diff options
author | STRWarrior <niels.breuker@hotmail.nl> | 2014-01-27 14:40:31 +0100 |
---|---|---|
committer | STRWarrior <niels.breuker@hotmail.nl> | 2014-01-27 14:40:31 +0100 |
commit | ed95f4d81b3f54111430aec00d429aff267dfa92 (patch) | |
tree | 5e9c88ca3bbf715ca16a6ac4a9787881807c43fc /src/Mobs/Villager.h | |
parent | Merge pull request #589 from mc-server/minecartimprovements (diff) | |
download | cuberite-ed95f4d81b3f54111430aec00d429aff267dfa92.tar cuberite-ed95f4d81b3f54111430aec00d429aff267dfa92.tar.gz cuberite-ed95f4d81b3f54111430aec00d429aff267dfa92.tar.bz2 cuberite-ed95f4d81b3f54111430aec00d429aff267dfa92.tar.lz cuberite-ed95f4d81b3f54111430aec00d429aff267dfa92.tar.xz cuberite-ed95f4d81b3f54111430aec00d429aff267dfa92.tar.zst cuberite-ed95f4d81b3f54111430aec00d429aff267dfa92.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Mobs/Villager.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Mobs/Villager.h b/src/Mobs/Villager.h index 4cd9aaa8e..b7cbe8ed0 100644 --- a/src/Mobs/Villager.h +++ b/src/Mobs/Villager.h @@ -30,11 +30,16 @@ public: CLASS_PROTODEF(cVillager); virtual void DoTakeDamage(TakeDamageInfo & a_TDI) override; + virtual void Tick (float a_Dt, cChunk & a_Chunk) override; + + void HandleFarmer(); int GetVilType(void) const { return m_Type; } private: int m_Type; + bool m_DidFindCrops; + Vector3i m_CropsPos; } ; |