|
|
@ -18,6 +18,7 @@ namespace TheGameExtreme.view
|
|
|
|
OnPropertyChanged("InstructionText");
|
|
|
|
OnPropertyChanged("InstructionText");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
public List<int> listNbPlayer = new List<int>();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public GamePreparationPage()
|
|
|
|
public GamePreparationPage()
|
|
|
@ -26,6 +27,11 @@ namespace TheGameExtreme.view
|
|
|
|
NavigationPage.SetHasNavigationBar(this, false);
|
|
|
|
NavigationPage.SetHasNavigationBar(this, false);
|
|
|
|
Instruction.SetBinding(Label.TextProperty, new Binding("InstructionText", source: this));
|
|
|
|
Instruction.SetBinding(Label.TextProperty, new Binding("InstructionText", source: this));
|
|
|
|
InstructionText = AppRessource.StrPlayerSelection;
|
|
|
|
InstructionText = AppRessource.StrPlayerSelection;
|
|
|
|
|
|
|
|
listNbPlayer.Add(1);
|
|
|
|
|
|
|
|
listNbPlayer.Add(2);
|
|
|
|
|
|
|
|
listNbPlayer.Add(3);
|
|
|
|
|
|
|
|
listNbPlayer.Add(4);
|
|
|
|
|
|
|
|
listNbPlayer.Add(5);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
private async void Back(object sender, EventArgs e)
|
|
|
|
private async void Back(object sender, EventArgs e)
|
|
|
|