Commit a71549e6 authored by Anna Maria Eilertsen's avatar Anna Maria Eilertsen
Browse files

removed todos in solution code grid

parent 63b22d0a
......@@ -38,13 +38,13 @@ public class Grid<T> implements IGrid<T>, Iterable<T>{
@Override
public int getHeight() {
return height; // TODO: fyll inn
return height;
}
@Override
public int getWidth() {
return width; // TODO: fyll inn
return width;
}
......@@ -70,7 +70,7 @@ public class Grid<T> implements IGrid<T>, Iterable<T>{
if(y < 0 || y >= height)
throw new IndexOutOfBoundsException();
return cells.get(coordinateToIndex(x, y)); // TODO: fyll inn
return cells.get(coordinateToIndex(x, y));
}
@Override
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment