� fix drone
continuous-integration/drone/push Build is failing Details

pull/96/head
Lucas DUFLOT 1 year ago
parent 5f3480bf98
commit 99349370d7

@ -65,7 +65,7 @@ class Program
static void OnBoardUpdated(object sender, EventArgs e) static void OnBoardUpdated(object sender, EventArgs e)
{ {
DisplayBoard(((Game)sender).UsedMap); DisplayBoard(((Game)sender).UsedMap);
DisplayOperationTable(((Game)sender).UsedMap.OperationGrid); DisplayOperationTable(((Game)sender).UsedMap.OperationGrid.ToList());
} }
/// <summary> /// <summary>
@ -88,7 +88,7 @@ class Program
static void OnOperationChosen(object sender, OperationChosenEventArgs e) static void OnOperationChosen(object sender, OperationChosenEventArgs e)
{ {
Console.WriteLine($"Operation: {e.Operation}, Result: {e.Result}"); Console.WriteLine($"Operation: {e.Operation}, Result: {e.Result}");
DisplayOperationTable(((Game)sender).UsedMap.OperationGrid); DisplayOperationTable(((Game)sender).UsedMap.OperationGrid.ToList());
Cell playerChoice = GetPlayerChoice(); Cell playerChoice = GetPlayerChoice();
try try
{ {

@ -48,10 +48,9 @@
<!-- Operation Grid --> <!-- Operation Grid -->
<CollectionView Grid.Row="0" Grid.Column="1" <CollectionView Grid.Row="0" Grid.Column="1"
ItemsSource="{Binding ListMap[0].OperationGrid}" ItemsSource="{Binding ListMap[0].OperationGrid}"
ItemsLayout="VerticalGrid,5" ItemsLayout="VerticalGrid,4"
WidthRequest="250" WidthRequest="200"
HeightRequest="250" HeightRequest="250"
SelectionMode="Single"
BackgroundColor="Transparent" BackgroundColor="Transparent"
SelectionChanged="OnOperationCellSelected" SelectionChanged="OnOperationCellSelected"
Margin="50"> Margin="50">

Loading…
Cancel
Save