public void UpdateCurrentPageType()
 {
     mainPage = currentPage as MainPage;
     gamePage = currentPage as GamePage;
     gameLobby = currentPage as GameLobby;
     invitePlayerPage = currentPage as InvitePlayersPage;
     waitForHost = currentPage as WaitingForHost;
     scorePage = currentPage as ScorePage;
 }
Example #2
0
 public void UpdateCurrentPageType()
 {
     mainPage         = currentPage as MainPage;
     gamePage         = currentPage as GamePage;
     gameLobby        = currentPage as GameLobby;
     invitePlayerPage = currentPage as InvitePlayersPage;
     waitForHost      = currentPage as WaitingForHost;
     scorePage        = currentPage as ScorePage;
 }