/* * static ChessGame() * { * GameContent.OnLoadContent += delegate (ContentManager content) * { * whitePieces = new ColourPieces(content, "white"); * blackPieces = new ColourPieces(content, "black"); * warning = content.Load<SoundEffect>("Chess/LightWarning"); * }; * } */ static ChessGame() { whitePieces = new ColourPieces(Main.main.Content, "white"); blackPieces = new ColourPieces(Main.main.Content, "black"); warning = Main.main.Content.Load <SoundEffect>("Chess/LightWarning"); }
static DraughtsGame() { whitePieces = new ColourPieces(Main.main.Content, "White"); blackPieces = new ColourPieces(Main.main.Content, "Black"); }