mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-10-28 07:27:14 +00:00
Add DoDamage behavior and dont try and start the same node multiple times
This commit is contained in:
@@ -46,8 +46,8 @@ public:
|
||||
void Deserialize(const tinyxml2::XMLElement& behavior);
|
||||
|
||||
void Update(float deltaTime, ModelComponent& modelComponent);
|
||||
void OnChatMessageReceived(const std::string& sMessage);
|
||||
void OnHit();
|
||||
void OnChatMessageReceived(const std::string& sMessage, const LWOOBJID sender);
|
||||
void OnHit(const LWOOBJID attacker);
|
||||
|
||||
private:
|
||||
State& GetActiveState();
|
||||
|
||||
Reference in New Issue
Block a user