diff options
Diffstat (limited to 'src/Mobs/Villager.h')
-rw-r--r-- | src/Mobs/Villager.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Mobs/Villager.h b/src/Mobs/Villager.h index b9a0b7675..2d6644193 100644 --- a/src/Mobs/Villager.h +++ b/src/Mobs/Villager.h @@ -29,9 +29,13 @@ public: CLASS_PROTODEF(cVillager) + /** Returns a random Profession. */ + static eVillagerType GetRandomProfession(); + // cEntity overrides virtual bool DoTakeDamage(TakeDamageInfo & a_TDI) override; virtual void Tick (std::chrono::milliseconds a_Dt, cChunk & a_Chunk) override; + virtual void KilledBy (TakeDamageInfo & a_TDI) override; // cVillager functions /** return true if the given blocktype are: crops, potatoes or carrots. */ |