Created
November 19, 2025 19:33
-
-
Save HauptJ/1ae004125438aa6be6880d153a90625c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #pragma once | |
| #include "HellTypes.h"' | |
| #include "HellConstants.h" | |
| #include "CreateInfo.h" | |
| #include "Types/Game/AnimatedGameObject.h" | |
| struct Dobermann { | |
| void Init(DobermannCreateInfo createInfo); | |
| void Update(float deltaTime); | |
| void EnableRagdollRender(); | |
| void DisableRagdollRender(); | |
| void TakeDamage(uint32_t damage); | |
| void UnAlive(); | |
| AnimatedGameObject* GetAnimatedGameObject(); | |
| glm::vec3 GetPosition(); | |
| uint64_t GetRagdollV2Id() { return m_ragdollV2Id; } | |
| private: | |
| int m_health = DOBERMANN_MAX_HEALTH; | |
| uint64_t g_animatedGameObjectObjectId = 0; | |
| uint64_t m_objectId= 0; | |
| uint64_t m_ragdollV2Id = 0; | |
| bool m_renderRagdoll = false; | |
| }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment