PersonType::PersonType()
{
animTalkIdle = tempanim;
+ animHurtIdle = tempanim;
}
bool PersonType::hasAnimTalkIdle()
return (animTalkIdle != tempanim);
}
+bool PersonType::hasAnimHurtIdle()
+{
+ return (animHurtIdle != tempanim);
+}
+
void PersonType::Load()
{
types.resize(2);
types[wolftype].defaultScale = .23;
types[wolftype].hasClaws = true;
types[wolftype].clothes = false;
+ types[wolftype].maxRunSpeed = 75;
+ types[wolftype].knifeCatchingType = 1;
/* Rabbit */
types[rabbittype].proportions[0] = 1.2;
types[rabbittype].animFightIdle = fightidleanim;
types[rabbittype].animBounceIdle = bounceidleanim;
types[rabbittype].animTalkIdle = talkidleanim;
+ types[rabbittype].animHurtIdle = hurtidleanim;
types[rabbittype].soundsAttack[0] = rabbitattacksound;
types[rabbittype].soundsAttack[1] = rabbitattack2sound;
types[rabbittype].defaultScale = .2;
types[rabbittype].hasClaws = false;
types[rabbittype].clothes = true;
+ types[rabbittype].maxRunSpeed = 55;
+ types[rabbittype].knifeCatchingType = 0;
}