Exemplo n.º 1
0
 /// <summary>
 /// Creates a new Falling Block with base block, field and position
 /// </summary>
 /// <param name="game">Game to bind to</param>
 /// <param name="block">Base block</param>
 /// <param name="field">Field container</param>
 /// <param name="x">X Grid position</param>
 /// <param name="y">Y Grid position</param>
 public FallingBlock(Game game, Block block, Field field, Int32 x, Int32 y)
     : this(game, block, field)
 {
     this.X = x;
     this.Y = y;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Creates a new Falling Block with base block and field
 /// </summary>
 /// <param name="game">Game to bind to</param>
 /// <param name="block">Base block</param>
 /// <param name="field">Field container</param>
 public FallingBlock(Game game, Block block, Field field)
     : this(game, block)
 {
     this.Field = field;
 }