Made multiple managers for individual pieces
Added UIManager that renders the UI inside the window
This commit is contained in:
		
							
								
								
									
										18
									
								
								BarinkEngine/Include/Input/InputManager.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								BarinkEngine/Include/Input/InputManager.h
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,18 @@
 | 
			
		||||
#pragma once
 | 
			
		||||
#include <vector>
 | 
			
		||||
 | 
			
		||||
#include "Graphics/Window.h"
 | 
			
		||||
 | 
			
		||||
namespace BarinkEngine {
 | 
			
		||||
 | 
			
		||||
	class InputManager {
 | 
			
		||||
	public:
 | 
			
		||||
		InputManager();
 | 
			
		||||
 | 
			
		||||
		void PollEvents();
 | 
			
		||||
		void attach(BarinkWindow* window);
 | 
			
		||||
 | 
			
		||||
	private:
 | 
			
		||||
		std::vector<BarinkWindow*> windows;
 | 
			
		||||
	};
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user