public void Draw(World world) { var filed = world.GetFiled(); for (int xIndex = 0; xIndex < world.GetWidth(); xIndex++) { for (int yIndex = 0; yIndex < world.GetHeight(); yIndex++) { DrawCell(filed[xIndex, yIndex]); } } }