Exemple #1
0
 /// <summary>
 /// Gets the value from the position
 /// </summary>
 /// <param name="pos"></param>
 /// <returns></returns>
 public int GetValueFromPosition(GridPosition pos)
 {
     return(Shape[Rotation, pos.Row, pos.Column]);
 }
Exemple #2
0
 /// <summary>
 /// Gets the value from the position
 /// </summary>
 /// <param name="pos"></param>
 /// <returns></returns>
 public int GetValueFromPosition(GridPosition pos)
 {
     return(Field[pos.Row, pos.Column]);
 }