#pragma once #include "TextureManager.h" #include "BoneAnimatedModel.h" #include "cmakeaudioplayer/include/AudioPlayer.hpp" #include #include #include "ActiveObject.h" #include namespace ZL { class GameObjectManager { public: void initialize(); void update(); void handleEvent(const SDL_Event& event); void updateScene(size_t ms); std::shared_ptr testObjTexturePtr; std::shared_ptr roomTexturePtr; std::shared_ptr coneTexturePtr; ZL::VertexDataStruct colorCubeMesh; ZL::VertexRenderStruct colorCubeMeshMutable; ZL::VertexDataStruct testObjMesh; ZL::VertexRenderStruct testObjMeshMutable; ZL::BoneSystem bx; ZL::VertexRenderStruct bxMutable; ZL::VertexDataStruct textMesh; ZL::VertexRenderStruct textMeshMutable; ZL::VertexDataStruct coneMesh; ZL::VertexRenderStruct coneMeshMutable; std::vector activeObjects; std::unique_ptr audioPlayer; ZL::VertexDataStruct inventoryIconMesh; ZL::VertexRenderStruct inventoryIconMeshMutable; static const float INVENTORY_ICON_SIZE; static const float INVENTORY_MARGIN; private: int animationCounter = 0; }; } // namespace ZL