X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FPerson.cpp;h=107edb4f436f80b8882a6943aa9bbc40017c105a;hb=6f3fa5a970fa12cf6529c56a1f859b2668a8a232;hp=996faea77c9ae0db7336c3e7c2f16e1a1db05453;hpb=fe7e2a8681a5988af06f7cbd24b3c8cc447b0738;p=lugaru.git diff --git a/Source/Person.cpp b/Source/Person.cpp index 996faea..107edb4 100644 --- a/Source/Person.cpp +++ b/Source/Person.cpp @@ -229,17 +229,6 @@ int Person::getLanding(){ return 0; } - -bool Person::isLandhard(){ - if(targetanimation==landhardanim||targetanimation==wolflandhardanim)return 1; - else return 0; -} - - -bool Person::wasLandhard(){ - if(currentanimation==landhardanim||currentanimation==wolflandhardanim)return 1; - else return 0; -} int Person::getLandhard(){ if(creature==rabbittype)return landhardanim; if(creature==wolftype)return wolflandhardanim; @@ -247,16 +236,6 @@ int Person::getLandhard(){ } -bool Person::isFlip(){ - if(targetanimation==flipanim||targetanimation==frontflipanim||targetanimation==backflipanim||targetanimation==rightflipanim||targetanimation==leftflipanim||targetanimation==walljumprightkickanim||targetanimation==walljumpleftkickanim)return 1; - else return 0; -} - -bool Person::wasFlip(){ - if(currentanimation==flipanim||currentanimation==frontflipanim||currentanimation==backflipanim||currentanimation==rightflipanim||currentanimation==leftflipanim||currentanimation==walljumprightkickanim||currentanimation==walljumpleftkickanim)return 1; - else return 0; -} - bool Person::isWallJump(){ if(targetanimation==walljumpfrontanim||targetanimation==walljumpbackanim||targetanimation==walljumpleftanim||targetanimation==walljumprightanim)return 1; else return 0;