events coming together

This commit is contained in:
Ben
2021-08-19 00:12:06 +01:00
parent fde9c91c9d
commit 83cf85c4c2
9 changed files with 130 additions and 69 deletions

View File

@@ -4,18 +4,23 @@ using Aeon::Core::App;
using Aeon::Core::Display;
using Aeon::Core::DisplayProperties;
using Aeon::Input::Input;
App::App( const DisplayProperties& props )
: mDisplay()
, mInput()
{
RegisterAsSink( "ENGINE_SYSTEM_CORE", 0 );
mDisplay.Create( props );
}
void App::Run()
{
// while ( !mSIGTERM )
while ( !mSIGTERM )
{
mInput.PollInput();
}
}
@@ -23,3 +28,8 @@ const Display& App::GetDisplay()
{
return mDisplay;
}
bool App::EventRecieved( GenericEvent& e )
{
return false;
}