This commit is contained in:
aozhiwei 2022-12-24 12:37:14 +08:00
parent 618e74a372
commit 0ec3f70199
6 changed files with 8 additions and 0 deletions

View File

@ -22,5 +22,6 @@ private:
void InternalUpdate(int delta_time); void InternalUpdate(int delta_time);
void RandSkin(); void RandSkin();
friend class PBUtils;
friend class EntityFactory; friend class EntityFactory;
}; };

View File

@ -69,4 +69,6 @@ class Car : public Creature
float cur_oil_ = 0; float cur_oil_ = 0;
glm::vec3 curr_shot_dir_ = GlmHelper::ZERO; glm::vec3 curr_shot_dir_ = GlmHelper::ZERO;
CircleCollider* self_collider_ = nullptr; CircleCollider* self_collider_ = nullptr;
friend class PBUtils;
}; };

View File

@ -374,4 +374,5 @@ private:
friend class Skill; friend class Skill;
friend class Trigger; friend class Trigger;
friend class PBUtils;
}; };

View File

@ -52,4 +52,5 @@ private:
bool detached_ = false; bool detached_ = false;
friend class HeroAI; friend class HeroAI;
friend class PBUtils;
}; };

View File

@ -444,4 +444,6 @@ private:
long long jump_frameno_ = 0; long long jump_frameno_ = 0;
float old_sync_speed = 0; float old_sync_speed = 0;
std::map<int, long long> attacker_hash_; std::map<int, long long> attacker_hash_;
friend class PBUtils;
}; };

View File

@ -142,4 +142,5 @@ private:
a8::XTimerWp watch_war_req_timer_; a8::XTimerWp watch_war_req_timer_;
friend class EntityFactory; friend class EntityFactory;
friend class PBUtils;
}; };