//
//  World.hpp
//  Game
//
//  Created by Darvydas on 24/01/2019.
//

#ifndef HUD_H
#define HUD_H

#include "Game/GameScene/World/Objects/Base.hpp"
#include "cocos2d.h"

namespace Game
{
	class CPlayer;
	class CStatisticBar;

    class CHUD: public Objects::CBase {
        
    public:
		static CHUD* create();

	public:
		CStatisticBar* m_VitalityBar;
		CStatisticBar* m_IntelligenceBar;
		CStatisticBar* m_SanityBar;
		CStatisticBar* m_EnduranceBar;
		CStatisticBar* m_CharismaBar;
        
    private:
		void createVisualElements();

		std::vector<CStatisticBar*> m_Bars;
    };
}

#endif /* HUD_H */
