protected boolean isSolidTile(int nextX,int nextY,int x,int y)
	{
		if(Game.level==null)
		{
			return false;
		}
		Tile lastTile = Game.level.getTile((this.x+x)>>3,(this.y+y)>>3);
		Tile newTile =Game.level.getTile((this.x+x+nextX)>>3,(this.y+y+nextY)>>3);
		//Tile currentTile = level.getTile(x, y)
		//System.out.println(this.x + "  " + x);
		if(lastTile==null||newTile==null)
		{
			return false;
		}
		if(!lastTile.equals(newTile)&&newTile.isSolid())
		{
			return true;
		}
		return false;
	}