Nigel Barink
d019155d10
* Added a basic material abstraction * Started implementation of RenderTarget (such as render textures)
19 lines
399 B
C++
19 lines
399 B
C++
#include "Input/InputManager.h"
|
|
|
|
void BarinkEngine::InputManager::PollEvents()
|
|
{
|
|
for (std::vector<BarinkWindow*>::iterator it = windows.begin(); it != windows.end(); ++it) {
|
|
(*it)->Poll();
|
|
}
|
|
}
|
|
|
|
void BarinkEngine::InputManager::attach(BarinkWindow* window)
|
|
{
|
|
windows.push_back(window);
|
|
}
|
|
|
|
BarinkEngine::InputManager::InputManager()
|
|
{
|
|
windows = std::vector<BarinkWindow*>();
|
|
}
|