/// <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]); }
/// <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]); }