X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FObjects%2FPerson.hpp;h=89d5b40277022d92e445c55449f42e86a08cbf0a;hb=be5fc624393b132863a7d9a97c811bc695b86e5b;hp=0bacf772b21744eda7de9d07be2b197c83d02e8b;hpb=bb302fb1d9936b1ab630a800698ab7b867472a7d;p=lugaru.git diff --git a/Source/Objects/Person.hpp b/Source/Objects/Person.hpp index 0bacf77..89d5b40 100644 --- a/Source/Objects/Person.hpp +++ b/Source/Objects/Person.hpp @@ -400,6 +400,11 @@ public: void addClothes(); void doAI(); + + bool catchKnife(); + + bool hasWeapon() { return (weaponactive != -1); } + bool isPlayerControlled() { return (aitype == playercontrolled); } }; const int maxplayers = 10;