Ejemplo n.º 1
0
 public void GenerateNextBlock()
 {
     var blockType = new Random().Next(7);
     NextBlock = _blockFactory.Get((BlockFactory.BlockType)blockType);
 }
Ejemplo n.º 2
0
 public ActiveBlock(GameField gameField, Point position, Block block)
 {
     _gameField = gameField;
     Position = position;
     _block = block;
 }