events coming together
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user