File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
UI/PongWars/src/UnoPongWars/Presentation Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2,13 +2,13 @@ namespace UnoPongWars.Presentation;
2
2
3
3
public sealed partial class GamePage : Page
4
4
{
5
- private readonly Color UnoBleu = Color . FromArgb ( 255 , 27 , 154 , 249 ) ;
6
- private readonly Color UnoVert = Color . FromArgb ( 255 , 107 , 227 , 173 ) ;
5
+ private readonly Color Blue = Color . FromArgb ( 255 , 27 , 154 , 249 ) ;
6
+ private readonly Color Green = Color . FromArgb ( 255 , 107 , 227 , 173 ) ;
7
7
8
8
public object ViewModel { get ; set ; }
9
9
10
- public Color PlayerColor ( Cell cell ) => cell . Player == 0 ? UnoBleu : UnoVert ;
11
- public Color CellColor ( Cell cell ) => cell . Player == 0 ? UnoVert : UnoBleu ;
10
+ public Color PlayerColor ( Cell cell ) => cell . Player == 0 ? Blue : Green ;
11
+ public Color CellColor ( Cell cell ) => cell . Player == 0 ? Green : Blue ;
12
12
13
13
public GamePage ( )
14
14
{
You can’t perform that action at this time.
0 commit comments