Ignore:
Timestamp:
Jan 15, 2013, 11:41:52 PM (8 years ago)
Author:
sam
Message:

core: you can now while(app.MustTick()) { Tick(); } instead of app.Run().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/application/application.cpp

    r2216 r2222  
    7171}
    7272
     73bool Application::MustTick()
     74{
     75    return !Ticker::Finished();
     76}
     77
     78void Application::Tick()
     79{
     80    data->app.Tick();
     81}
     82
    7383void Application::ShowPointer(bool show)
    7484{
    7585    data->app.ShowPointer(show);
    76 }
    77 
    78 void Application::Run()
    79 {
    80     data->app.Run();
    8186}
    8287
Note: See TracChangeset for help on using the changeset viewer.