Beispiel #1
0
 public void Draw(SpriteBatch spriteBatch, Color color)
 {
     Brick1.drawBrick(spriteBatch, color);
     Brick2.drawBrick(spriteBatch, color);
     Brick3.drawBrick(spriteBatch, color);
     Brick4.drawBrick(spriteBatch, color);
 }
Beispiel #2
0
 public void Draw(SpriteBatch spriteBatch)
 {
     Brick1.drawBrick(spriteBatch);
     Brick2.drawBrick(spriteBatch);
     Brick3.drawBrick(spriteBatch);
     Brick4.drawBrick(spriteBatch);
 }