public void UpdateBoard() { int index = default; foreach (var thisItem in _mainGame !.PlayerList !) { index += 1; GamePieceWPF thisGraphics = _pieceList ![index - 1];
public void Handle(GamePieceWPF message) { ChangePiece(message); // hopefully this works as well since we know what type we are expecting. }