From 3aae2b53cebb7dba5a848920dd2adc1e1b651ad5 Mon Sep 17 00:00:00 2001 From: Felix Detig Date: Fri, 11 Feb 2022 00:50:08 +0100 Subject: [PATCH] =?UTF-8?q?TicTacToeBrett-Konstruktor=20mit=202D-Array=20a?= =?UTF-8?q?ls=20Parameter=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BlazorSolution/MiniGames/Shared/Models/TicTacToeBrett.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/BlazorSolution/MiniGames/Shared/Models/TicTacToeBrett.cs b/BlazorSolution/MiniGames/Shared/Models/TicTacToeBrett.cs index 4d1e08b..3cb46c1 100644 --- a/BlazorSolution/MiniGames/Shared/Models/TicTacToeBrett.cs +++ b/BlazorSolution/MiniGames/Shared/Models/TicTacToeBrett.cs @@ -20,6 +20,11 @@ namespace MiniGames.Shared.Models }; } + public TicTacToeBrett(int[,] felder) + { + Felder = felder; + } + public bool set(int pos, int wert) { return true;