summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Villager.h
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2014-01-27 14:40:31 +0100
committerSTRWarrior <niels.breuker@hotmail.nl>2014-01-27 14:40:31 +0100
commited95f4d81b3f54111430aec00d429aff267dfa92 (patch)
tree5e9c88ca3bbf715ca16a6ac4a9787881807c43fc /src/Mobs/Villager.h
parentMerge pull request #589 from mc-server/minecartimprovements (diff)
downloadcuberite-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 'src/Mobs/Villager.h')
-rw-r--r--src/Mobs/Villager.h5
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;
} ;