1
0

Added GetCropsPos and DidFindCrops functions.

This commit is contained in:
STRWarrior 2014-01-27 18:33:57 +01:00
parent 06c3bc1ea5
commit 9807056a9c

View File

@ -29,12 +29,18 @@ public:
CLASS_PROTODEF(cVillager);
// Override functions
virtual void DoTakeDamage(TakeDamageInfo & a_TDI) override;
virtual void Tick (float a_Dt, cChunk & a_Chunk) override;
// cVillager functions
void HandleFarmer();
bool IsBlockFarmable(BLOCKTYPE a_BlockType);
// Get and set functions.
int GetVilType(void) const { return m_Type; }
Vector3i GetCropsPos(void) const { return m_CropsPos; }
bool DidFindCrops(void) const { return m_DidFindCrops; }
private: