This commit is contained in:
aozhiwei 2021-08-21 14:44:00 +00:00
parent c250021629
commit 0a06e5ce31
2 changed files with 12 additions and 0 deletions

View File

@ -53,6 +53,8 @@ class Car : public Creature
void BeKill(int killer_id, const std::string& killer_name, int weapon_id); void BeKill(int killer_id, const std::string& killer_name, int weapon_id);
bool IsPassenger(Human* hum); bool IsPassenger(Human* hum);
void RecalcSelfCollider(); void RecalcSelfCollider();
bool NeedCreatureCollision();
void CheckCreatureCollision();
private: private:
long long born_frameno_ = 0; long long born_frameno_ = 0;

View File

@ -2771,3 +2771,13 @@ void Creature::OnBattleStart(Room* room)
RemoveBuffByUniId(*itr); RemoveBuffByUniId(*itr);
} }
} }
bool Creature::NeedCreatureCollision()
{
return false;
}
void Creature::CheckCreatureCollision()
{
}