20 lines
525 B
C++
20 lines
525 B
C++
#ifndef HYDRAPROCESSINPUTTASK
|
|||
|
|
#define HYDRAPROCESSINPUTTASK
|
||
|
|
#include "../HydraTask.h"
|
||
|
|
#include "../../engine/HydraEngine.h"
|
||
|
|
#include "../../windowmanager/HydraWindowManager.h"
|
||
|
|
#include "../../engine/HydraInputManager.h"
|
||
|
|
|
||
|
|
class HydraProcessInputTask : public HydraTask
|
||
|
|
{
|
||
|
|
private:
|
||
|
|
protected:
|
||
|
|
public:
|
||
|
|
virtual void Process() override
|
||
|
|
{
|
||
|
|
GetEngine()->WindowManager()->HandleMessages();
|
||
|
|
GetEngine()->InputManager()->ProcessInput();
|
||
|
|
}
|
||
|
|
};
|
||
|
|
#endif /* HYDRAPROCESSINPUTTASK */
|