I have the following code:
RoomCell r = b.GetRoomCellAt(1, 2);
assertTrue(r.isDoorway());
The second line is failing with a null pointer exception, as if r hadn't been instantiated. But I'm setting it equal to a cell that that method retrieves, so it is obviously not null.
Why would I possibly be getting this error?