X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FPerson.cpp;h=996faea77c9ae0db7336c3e7c2f16e1a1db05453;hb=fe7e2a8681a5988af06f7cbd24b3c8cc447b0738;hp=e20023274988cdd66e4b0ce4bbe9a338e894e841;hpb=797dc38c1623b98280500df2ab37edba4effabea;p=lugaru.git diff --git a/Source/Person.cpp b/Source/Person.cpp index e200232..996faea 100644 --- a/Source/Person.cpp +++ b/Source/Person.cpp @@ -217,33 +217,12 @@ int Person::getRun(){ return 0; } -bool Person::isStop(){ - if(targetanimation==stopanim||targetanimation==wolfstopanim)return 1; - else return 0; -} - - -bool Person::wasStop(){ - if(currentanimation==stopanim||currentanimation==wolfstopanim)return 1; - else return 0; -} int Person::getStop(){ if(creature==rabbittype)return stopanim; if(creature==wolftype)return wolfstopanim; return 0; } - -bool Person::isLanding(){ - if(targetanimation==landanim||targetanimation==wolflandanim)return 1; - else return 0; -} - - -bool Person::wasLanding(){ - if(currentanimation==landanim||currentanimation==wolflandanim)return 1; - else return 0; -} int Person::getLanding(){ if(creature==rabbittype)return landanim; if(creature==wolftype)return wolflandanim;