//
//  InteractiveObject.hpp
//  Game
//
//  Created by Darvydas on 26/01/2019.
//

#include "Game/GameScene/World/Action.hpp"
#include "Game/GameScene/World/Objects/Base.hpp"
#include "Game/GameScene/World/Action.hpp"
#include "Utils/json/Manager.hpp"

#pragma once

namespace Game
{
    namespace Objects
    {
        class CInteractiveObject: public CBase
        {
        public:
            
            static CInteractiveObject *create(const rapidjson::Value& krValue);
            
            std::vector<CAction*> m_vActions;
            
        private:
            
            void initData(const rapidjson::Value& krValue);
            
        private:
                        
            int m_width = 1;
            int m_height = 1;
            
            std::string m_strType = "";
            std::string m_strPngPath = "";
            std::string m_strSound = "";
            
        };
    }
}
