public static Cell Get(this Cell[,] array, Vector2 coords) { return(array.IsValid(coords) ? array[(int)coords.X, (int)coords.Y] : null); }