public boolean collideTile(ArrayList<ArrayList<Tile>> at) {
		int bottomx = (int) Math.floor(this.posX/40);
		int bottomy = (int) Math.floor(this.posY/40);
		Tile bt = at.get(bottomy).get(bottomx);
		if (bt.getType() == 9) {
			return true;
		} else if (!this.hasMask) {
			int topx = (int) Math.ceil(this.posX/40) + 1;
			int topy = (int) Math.ceil(this.posY/40) + 1;
			Tile tt = at.get(topy).get(topx);
			if (tt.getType() == 9) {
				return true;
			} else {
				return false;
			}
		} else {
			return false;
		}
	}