fix: Player activated switches (#1655)

This commit is contained in:
David Markowitz
2024-11-25 20:55:50 -08:00
committed by GitHub
parent ec501831e6
commit 9e7ef8c4ee
4 changed files with 24 additions and 6 deletions

View File

@@ -22,6 +22,7 @@ public:
~SwitchComponent() override;
void Update(float deltaTime) override;
void OnUse(Entity* originator) override;
Entity* GetParentEntity() const;
@@ -101,6 +102,8 @@ private:
* Attached pet bouncer
*/
BouncerComponent* m_PetBouncer = nullptr;
std::vector<int32_t> m_FactionsToRespondTo{};
};
#endif // SWITCHCOMPONENT_H