Exemple #1
0
 public GameWorld(ContentManager Content)
 {
     random    = new Random();
     gameState = GameState.PlayScreen;
     font      = Content.Load <SpriteFont>("SpelFont");
     grid      = new TetrisGrid(Content);
 }
Exemple #2
0
 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);
 }