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