public void SetUp()
 {
     IBlockFactory mockBlockFactory = new BlockHelper.MockBlockFactory();
     position = new Vector2(4, 4);
     field = new Field(10, 10);
     field.SetBlock(new BlockHelper.MockBlock(), position);
     subject = new GameMechanics(field, mockBlockFactory);
 }
Esempio n. 2
0
        public void SetUp()
        {
            IBlockFactory mockBlockFactory = new BlockHelper.MockBlockFactory();

            position = new Vector2(4, 4);
            field    = new Field(10, 10);
            field.SetBlock(new BlockHelper.MockBlock(), position);
            subject = new GameMechanics(field, mockBlockFactory);
        }