public GameWorld(ContentManager Content) { random = new Random(); gameState = GameState.PlayScreen; font = Content.Load <SpriteFont>("SpelFont"); grid = new TetrisGrid(Content); }
public Block(ContentManager Content, Color color) { this.color = color; position = new Point(3, 0); emptyCell = Content.Load <Texture2D>("block"); tetrisGrid = new TetrisGrid(Content); rnd = new Random(); currentBlock = RandomBlock(); //TetrisGameBlocks(Content); }