コード例 #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]);
 }
コード例 #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]);
 }