示例#1
0
 public MemoryCardGame()
 {
     graphics = new GraphicsDeviceManager(this);
     Content.RootDirectory = "Content";
     IsMouseVisible = true;
     board = new MemoryBoard(new string[] {"duck", "tube", "pink", "king", "swag", "wool", "iris", "away", "inky", "boob"} );
     mouse = new XnaMouse(board);
 }
示例#2
0
 public XnaMouse(MemoryBoard board)
 {
     this.board = board;
 }