public Case FindCase(Map map, Piece p) { foreach (Case c in map.CaseList) { if (c.Piece == p) return c; } return null; }
public void InitGame() { map = new Map(); player1 = new Player(1, true); player2 = new Player(2, false); gameTurn = true; playAgain = true; gamePlaying = true; whiteEchec = false; blackEchec = false; }