Ejemplo n.º 1
0
        protected override void LoadContent()
        {
            spriteBatch                 = new SpriteBatch(GraphicsDevice);
            textWriter                  = Content.Load <SpriteFont>("TextWriter");
            gameBoard1                  = new Board();
            gameBoard2                  = new Board();
            boardControl                = new BoardControler();
            gameDeck                    = new Deck(deckSize);
            tileSize                    = boardControl.tileSize;
            grid                        = boardControl.grid;
            positionAndSize             = new Rectangle(0, 0, tileSize, tileSize);
            positionAndSizeOfPLacement  = new Rectangle(playerX, playerY, tileSize, tileSize);
            positionAndSizeOfPLacement2 = new Rectangle(playerX + 1, playerY, tileSize, tileSize);
            movement                    = new MovementLogic();
            roundLogic                  = new RoundLogic(ref players, 2);
            viewLogic                   = new ViewLogic(tileSize, ref gameDeck, ref positionAndSize);

            // TODO: use this.Content to load your game content here
        }
Ejemplo n.º 2
0
 public void RotationTest()
 {
     MovementLogic MovementTests = new KingDomino.MovementLogic();
 }
Ejemplo n.º 3
0
 public void PlacementTest()
 {
     MovementLogic MovementTests = new KingDomino.MovementLogic();
     //test
 }
Ejemplo n.º 4
0
 public void KeyboardMovementTest()
 {
     MovementLogic MovementTests = new KingDomino.MovementLogic();
 }