Example #1
0
 async Task RunGamePlay(ActivityHost host)
 {
     var result = await host.Run<GamePlayScreen, int>();
     if(result >= 0)
         await host.Run<ResultsScreen>(result);
 }
Example #2
0
 ContextTaskAwaitable ShowLeaderboards(ActivityHost host)
 {
     return host.Run<LeaderboardsScreen>();
 }
Example #3
0
 ContextTaskAwaitable ShowCredits(ActivityHost host)
 {
     return host.Run<CreditsScreen>();
 }
Example #4
0
 ContextTaskAwaitable ShowHowToPlay(ActivityHost host)
 {
     return host.Run<HowToPlayScreen>();
 }
Example #5
0
 ContextTaskAwaitable<TitleScreen.Result> ShowTitle(ActivityHost host)
 {
     return host.Run<TitleScreen, TitleScreen.Result>();
 }