So, I'm desperately trying to get my code to compile, and I've been working through this for hours. When I have any code that says, for instance
roomList.add(new Room(x,y,id));
I get the following error:
./MazeCreator.java:24: Wrong number of arguments in constructor. roomList.add(new Room(x,y,id)); ^
If I tell it
Room blah = new Room(x,y,id);
it gives me the same error, with a carrot under new. I'm willing to bet this is something dumb I've done, but I've been staring at a screen all day and my brain is fried...any assistance would be greatly appreciated :) |