Skip to content
Snippets Groups Projects
Commit e6696459 authored by SCHAAL CESAR's avatar SCHAAL CESAR
Browse files

Trying to debug

parent 43cb7a62
Branches
Tags
No related merge requests found
......@@ -121,9 +121,19 @@ namespace Wanderer.view
Game.Instance.currentPlayerIndex = (Game.Instance.currentPlayerIndex + 1) % Game.Instance.Players.Count;
Player currentPlayer = Game.Instance.Players[Game.Instance.currentPlayerIndex];
lblArgentRouge.Text = "Argent :" + currentPlayer.marks;
lblMarcheurRouge.Text = "Marcheurs : " + currentPlayer.randonneurs;
lblTour.Text = "Nombre d'action : " + nombreTour++;
if(Game.Instance.currentPlayerIndex == 0)
{
lblArgentRouge.Text = "Argent :" + currentPlayer.marks;
lblMarcheurRouge.Text = "Marcheurs : " + currentPlayer.randonneurs;
}
if (Game.Instance.currentPlayerIndex == 1)
{
lblArgentBleu.Text = "Argent :" + currentPlayer.marks;
lblMarcheurBleu.Text = "Marcheurs : " + currentPlayer.randonneurs;
lblTour.Text = "Nombre d'action : " + nombreTour++;
}
if (MapView.SelectedTile != null && MapView.SelectedTile.model.HasChanged)
{
MapView.SelectedTile.Image = image();
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment