Physics working
This commit is contained in:
@@ -8,12 +8,17 @@
|
||||
class HydraProcessInputTask : public HydraTask
|
||||
{
|
||||
private:
|
||||
bool m_reset;
|
||||
protected:
|
||||
public:
|
||||
virtual void Process() override
|
||||
{
|
||||
GetEngine()->WindowManager()->HandleMessages();
|
||||
GetEngine()->InputManager()->ProcessInput();
|
||||
GetEngine()->InputManager()->ProcessInput(m_reset);
|
||||
}
|
||||
void Initialise(bool reset)
|
||||
{
|
||||
m_reset = reset;
|
||||
}
|
||||
};
|
||||
#endif /* HYDRAPROCESSINPUTTASK */
|
||||
|
||||
Reference in New Issue
Block a user