public LinkedList<Rectangle> getWalls()
	{
		LinkedList<Rectangle> res = new LinkedList<Rectangle>();
		int i = Mode.Wall.i();
		for (Obj o : positions)
		{
			if (o.getT() == i)
				res.add(new Rectangle((int)o.getPos().X, (int)o.getPos().Y, gridW[i], gridH[i]));
		}	
		return res;
	}