void sfxButton_Tapped(object sender, EventArgs e) { var messageBox = new MessageBoxScreen("It's simple to play shot shooter. Define who would like to play. Choose one to throw the ball. If the ball fall in your cup, you drink.", false); ScreenManager.AddScreen(messageBox, ControllingPlayer); // In a real game, you'd want to store away the value of // the button to turn off sounds here. :) }
void musicButton_Tapped(object sender, EventArgs e) { var messageBox = new MessageBoxScreen("It's simple to play shot shooter.\nDefine who would like to play. \nChoose one to throw the ball. \nIf the ball fall in your cup, \nyou drink.", false); ScreenManager.AddScreen(messageBox, ControllingPlayer); }